/* ================================================================
   FisiomanagerPRO - Main Stylesheet
   Design: Dark Cyberpunk Glassmorphism
   Font: Inter (Google Fonts)
   Framework: Bootstrap 5.3.3 (overrides below)
   ================================================================ */

/* === Design Tokens === */
:root {
    --color-primary: #00e5ff;
    --color-primary-dark: #00b8d4;
    --color-primary-light: rgba(0, 229, 255, 0.08);
    --color-secondary: #00d4aa;
    --color-secondary-dark: #00a888;
    --color-accent: #00e5ff;
    --color-accent-dark: #00b8d4;
    --color-dark: #060e1a;
    --color-light: #0a1628;
    --color-gray: rgba(176, 196, 222, 0.7);
    --color-gray-light: rgba(176, 196, 222, 0.4);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-depth: 0 1px 2px rgba(0,0,0,0.1),
                    0 4px 8px rgba(0,0,0,0.15),
                    0 16px 32px rgba(0,0,0,0.15),
                    0 32px 64px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --glass-bg: rgba(10, 22, 40, 0.52);
    --glass-border: rgba(0, 229, 255, 0.10);
    --glass-blur: blur(28px);
}

/* === Typography === */
body {
    font-family: var(--font-primary);
    color: #f0f4f8;
    line-height: 1.7;
    background: #060e1a;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #f0f4f8;
}

.lead {
    font-weight: 300;
    font-size: 1.2rem;
    color: rgba(176, 196, 222, 0.8);
}

/* === Glassmorphism === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.glass-card-dark {
    background: rgba(6, 14, 26, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(0, 229, 255, 0.06);
    border-radius: var(--radius-lg);
}

/* === Gradient Effects === */
.gradient-text {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
}

.gradient-bg-accent {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
}

.gradient-bg-animated {
    background: linear-gradient(-45deg, #00e5ff, #00d4aa, #00b8d4, #00e5ff);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === Depth Shadows === */
.depth-shadow {
    box-shadow: var(--shadow-depth);
}

.depth-shadow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.depth-shadow-hover:hover {
    box-shadow: var(--shadow-depth);
    transform: translateY(-4px);
}

/* === Navbar === */
.navbar {
    background: rgba(6, 14, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 229, 255, 0.08);
    border-bottom: 1px solid rgba(0, 229, 255, 0.06);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    padding-top: 0;
    padding-bottom: 0;
    color: #f0f4f8;
}

.navbar-brand .navbar-logo {
    margin: -0.75rem 0;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.15));
    transition: filter 0.3s ease;
}

.navbar-brand .navbar-logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.25));
}

.navbar .nav-link {
    font-weight: 500;
    color: rgba(240, 244, 248, 0.75);
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #00e5ff;
}

/* Navbar toggler (hamburger) - custom icon for dark bg */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

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

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 229, 255, 0.15);
}

/* === Buttons === */
.btn {
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    border: none;
    color: #060e1a;
    font-weight: 600;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #00f0ff, #00e0b8);
    color: #060e1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    border: none;
    color: #060e1a;
    font-weight: 600;
}
.btn-accent:hover {
    background: linear-gradient(135deg, #00f0ff, #00e0b8);
    color: #060e1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3);
}

.btn-outline-primary {
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.4);
}
.btn-outline-primary:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: #00e5ff;
    color: #00e5ff;
    transform: translateY(-1px);
}

.btn-outline-light {
    color: rgba(240, 244, 248, 0.85);
    border-color: rgba(240, 244, 248, 0.3);
}
.btn-outline-light:hover {
    background: rgba(240, 244, 248, 0.1);
    border-color: rgba(240, 244, 248, 0.6);
    color: #f0f4f8;
}

/* Rounded pill buttons */
.btn.rounded-pill {
    border-radius: 50px;
}

/* === Hero Section === */
.hero-section {
    background: linear-gradient(135deg, #060e1a 0%, #0a1628 50%, #071520 100%);
    color: #f0f4f8;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle glow behind hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Light beam effect across hero */
.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.03) 15%, rgba(0, 229, 255, 0.15) 50%, rgba(0, 229, 255, 0.03) 85%, transparent 100%);
    z-index: 0;
    pointer-events: none;
    animation: beamPulse 4s ease-in-out infinite;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .display-4 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #f0f4f8;
}

.hero-section .lead {
    color: rgba(176, 196, 222, 0.8);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.typed-cursor {
    color: #00e5ff;
    font-weight: 300;
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-trust-badge {
    background: rgba(0, 229, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: rgba(240, 244, 248, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-trust-badge i {
    color: #00e5ff;
}

/* === Cards === */
.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    color: #f0f4f8;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.2);
}

.card .card-body {
    color: #f0f4f8;
}

.card .card-title {
    color: #f0f4f8;
}

.card .card-text {
    color: rgba(176, 196, 222, 0.7);
}

/* === Footer === */
.site-footer {
    background: #040a12;
    color: rgba(176, 196, 222, 0.6);
    border-top: 1px solid rgba(0, 229, 255, 0.06);
}

.footer-text {
    color: rgba(176, 196, 222, 0.6);
    margin-bottom: 0.25rem;
}

.footer-link {
    color: rgba(176, 196, 222, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #00e5ff;
}

.footer-divider {
    border-color: rgba(0, 229, 255, 0.08);
}

.site-footer h5,
.site-footer h6 {
    font-weight: 600;
    color: #f0f4f8;
}

/* === Breadcrumb === */
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: #00e5ff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    color: #00d4aa;
}

.breadcrumb-item.active {
    color: rgba(176, 196, 222, 0.6);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(176, 196, 222, 0.4);
}

/* === Utility Classes === */
.text-primary { color: #00e5ff !important; }
.text-secondary-custom { color: #00d4aa !important; }
.text-accent { color: #00e5ff !important; }
.bg-primary-light { background-color: rgba(0, 229, 255, 0.06) !important; }
.bg-light { background-color: #0a1628 !important; }

.section-padding {
    padding: 5rem 0;
}

.section-heading {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #f0f4f8;
}

.section-subheading {
    font-size: 1.1rem;
    color: rgba(176, 196, 222, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Editable content wrapper - styles page_content() output */
.section-intro h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f0f4f8;
}
.section-intro p {
    font-size: 1.1rem;
    color: rgba(176, 196, 222, 0.7);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-intro p:last-child { margin-bottom: 0; }

/* Override for dark sections (all sections are dark now) */
.section-dark .section-intro p {
    color: rgba(176, 196, 222, 0.7);
}

/* CTA section */
.cta-section .section-intro p {
    color: rgba(240, 244, 248, 0.85);
}

/* Story content (chi-siamo) */
.story-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f0f4f8;
}
.story-content p {
    font-size: 1.1rem;
    color: rgba(176, 196, 222, 0.8);
}

/* Page header content in dark sections */
.page-header-intro h1 {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #f0f4f8;
}
.page-header-intro p {
    color: rgba(176, 196, 222, 0.8);
    font-size: 1.25rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* === Scroll Reveal (initial state for GSAP) === */
.reveal, .reveal-stagger > * {
    /* Elements start visible; GSAP handles the animation.
       If JS fails, content is still visible. */
}

/* === 404 Page === */
.display-1.gradient-text {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
}

/* === Responsive === */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(0, 229, 255, 0.08);
        border-radius: var(--radius-md);
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar .nav-link {
        padding: 0.75rem 1rem;
    }

    .hero-section {
        min-height: 50vh;
    }
}

@media (max-width: 575.98px) {
    .hero-section .display-4 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}

/* ================================================================
   Phase 2: Homepage Sections
   Dark cyberpunk glassmorphism throughout
   ================================================================ */

/* === Dark Section Base === */
.section-dark {
    background: linear-gradient(135deg, #060e1a 0%, #0a1628 50%, #071520 100%);
    color: #f0f4f8;
}

/* === Problems Section (Dark) === */
.problems-section {
    background: #0a1628;
    color: #f0f4f8;
}

.problem-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    min-height: 220px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
}

.problem-card .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.problem-card .icon-circle i {
    font-size: 1.5rem;
    color: #00e5ff;
}

.problem-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f0f4f8;
}

.problem-card p {
    font-size: 0.95rem;
    color: rgba(176, 196, 222, 0.7);
    margin-bottom: 0;
}

/* === Modules Section (Dark) === */
.modules-section {
    background: #060e1a;
    color: #f0f4f8;
}

.modules-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.module-tab {
    padding: 0.6rem 1.5rem;
    border: 2px solid rgba(0, 229, 255, 0.15);
    border-radius: 50px;
    background: transparent;
    color: rgba(240, 244, 248, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.module-tab:hover {
    border-color: rgba(0, 229, 255, 0.4);
    color: #00e5ff;
}

.module-tab.active {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    border-color: transparent;
    color: #060e1a;
    font-weight: 600;
}

.module-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.module-content .module-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #f0f4f8;
}

.module-content .module-info p {
    color: rgba(176, 196, 222, 0.7);
    margin-bottom: 1.5rem;
}

.module-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.module-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.module-features li i {
    color: #00e5ff;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.module-features li strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #f0f4f8;
}

.module-features li span {
    display: block;
    font-size: 0.875rem;
    color: rgba(176, 196, 222, 0.7);
}

.module-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-visual img {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.08);
    transition: transform 0.3s ease;
}

.module-visual img:hover {
    transform: scale(1.02);
}

.module-visual i {
    font-size: 8rem;
    color: rgba(0, 229, 255, 0.1);
    opacity: 0.5;
}

/* === Screenshot Animations === */
@keyframes screenshotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

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

/* === Hero Product Screenshot (homepage) === */
.hero-screenshot {
    margin-top: 3rem;
    perspective: 1200px;
    position: relative;
}

.hero-screenshot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.hero-screenshot img {
    position: relative;
    z-index: 1;
    max-width: 960px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 80px -12px rgba(0,0,0,0.6),
                0 0 0 1px rgba(0, 229, 255, 0.08);
    animation: screenshotFloat 6s ease-in-out infinite;
    transform-origin: center center;
}

/* === Showcase Section (3 product cards) === */
.showcase-section {
    background: linear-gradient(180deg, #0a1628 0%, #0d1b2e 100%);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    perspective: 1000px;
}

.showcase-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: #0d1b2e;
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.showcase-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px -10px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.2);
}

.showcase-card img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.showcase-card:hover img {
    transform: scale(1.05);
}

.showcase-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(transparent, rgba(6, 14, 26, 0.9));
    color: #f0f4f8;
}

.showcase-card-label h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #f0f4f8;
}

.showcase-card-label p {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 0.85;
    color: rgba(176, 196, 222, 0.8);
}

@media (max-width: 767.98px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-screenshot img {
        animation: none;
    }

    .hero-screenshot::before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-grid > :last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* === Screenshot showcase for module detail pages === */
.module-hero-screenshot {
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 2rem;
    perspective: 1000px;
}

.module-hero-screenshot img {
    max-width: 900px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5),
                0 0 0 1px rgba(0, 229, 255, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.module-hero-screenshot img:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 80px -10px rgba(0,0,0,0.6),
                0 0 0 1px rgba(0, 229, 255, 0.12);
}

/* === Feature card with screenshot === */
.feature-card-img {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.feature-card-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card-img:hover img {
    transform: scale(1.04);
}

/* === Feature showcase image === */
.feature-showcase-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px -8px rgba(0,0,0,0.4),
                0 0 0 1px rgba(0, 229, 255, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-showcase-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px -8px rgba(0,0,0,0.5),
                0 0 0 1px rgba(0, 229, 255, 0.12);
}

/* === Alternating feature rows (module detail pages) === */
.feature-highlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.feature-highlight-row.reversed {
    direction: rtl;
}

.feature-highlight-row.reversed > * {
    direction: ltr;
}

.feature-highlight-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-highlight-img:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px -10px rgba(0, 229, 255, 0.15);
}

.feature-highlight-img img {
    width: 100%;
    display: block;
}

@media (max-width: 767.98px) {
    .feature-highlight-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-highlight-row.reversed {
        direction: ltr;
    }
}

/* === Comparison Section (Dark) === */
.comparison-section {
    background: #0a1628;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table thead th {
    background: rgba(0, 229, 255, 0.08);
    color: #f0f4f8;
    font-weight: 600;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
    border: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.06);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(240, 244, 248, 0.85);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #f0f4f8;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(0, 229, 255, 0.04);
}

.comparison-table .highlight-col {
    background: rgba(0, 229, 255, 0.04);
}

.comparison-table thead .highlight-col {
    background: rgba(0, 229, 255, 0.15);
}

.comparison-table .bi-check-circle-fill.text-success {
    font-size: 1.1rem;
    color: #00e5ff !important;
}

.comparison-table .bi-x-circle-fill.text-danger {
    font-size: 1.1rem;
    color: rgba(255, 107, 107, 0.6) !important;
}

/* === Stats Section (Dark) === */
.stats-section {
    background: linear-gradient(135deg, #060e1a 0%, #0a1628 100%);
    color: #f0f4f8;
    border-top: 1px solid rgba(0, 229, 255, 0.06);
    border-bottom: 1px solid rgba(0, 229, 255, 0.06);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #00e5ff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(176, 196, 222, 0.8);
    margin-top: 0.25rem;
}

/* === Testimonials Section (Dark) === */
.testimonials-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d1b2e 50%, #0a1628 100%);
    color: #f0f4f8;
}

.testimonials-swiper {
    padding-bottom: 3rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: rgba(240, 244, 248, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    color: #060e1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-author-info strong {
    display: block;
    color: #f0f4f8;
    font-size: 0.9rem;
}

.testimonial-author-info span {
    display: block;
    color: rgba(176, 196, 222, 0.6);
    font-size: 0.8rem;
}

/* Swiper pagination overrides */
.testimonials-swiper .swiper-pagination-bullet {
    background: rgba(0, 229, 255, 0.3);
    opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: #00e5ff;
}

/* === CTA Section (Cyan/Teal Gradient) === */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(0, 212, 170, 0.15) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    color: #f0f4f8;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: #f0f4f8;
}

.cta-section p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: rgba(240, 244, 248, 0.85);
}

/* === Dropdown Glassmorphism (Dark) === */
.navbar .dropdown-menu {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: rgba(240, 244, 248, 0.75);
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.15s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(0, 229, 255, 0.08);
    color: #00e5ff;
}

.navbar .dropdown-divider {
    margin: 0.25rem 0;
    border-color: rgba(0, 229, 255, 0.08);
}

/* === Phase 2 Responsive Additions === */
@media (max-width: 767.98px) {
    .stats-section .row {
        /* 2 column grid on mobile handled by col-6 */
    }

    .module-content {
        grid-template-columns: 1fr;
    }

    .module-visual {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .module-content {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.6rem 0.5rem;
    }
}

/* === Mobile Touch Targets === */
@media (max-width: 767.98px) {
    .btn,
    .nav-link,
    .module-tab {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar .nav-link {
        min-height: 44px;
    }
}

/* ================================================================
   Phase 3: Pricing Page
   Cards with highlighted SOLO + expandable feature comparison matrix
   ================================================================ */

/* === Pricing Card Base === */
.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
    color: #f0f4f8;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
}

/* === Highlighted Card (SOLO) === */
.pricing-card-highlighted {
    border: 2px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
    position: relative;
    z-index: 2;
}

.pricing-card-highlighted:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.15);
}

/* === Badge on Highlighted === */
.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    color: #060e1a;
    padding: 4px 20px;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

/* === Price Display === */
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00e5ff;
    line-height: 1.2;
}

.pricing-price .currency {
    font-size: 1.2rem;
    vertical-align: super;
    margin-right: 2px;
}

.pricing-price .period {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(176, 196, 222, 0.6);
}

/* === Feature Comparison Matrix === */
.feature-matrix {
    background: rgba(10, 22, 40, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-matrix thead th {
    background: rgba(0, 229, 255, 0.06);
    color: #f0f4f8;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.feature-matrix .plan-header-solo {
    background: rgba(0, 229, 255, 0.1);
}

.feature-matrix .category-row {
    background: rgba(0, 229, 255, 0.04);
}

.feature-matrix .category-row td {
    font-size: 0.9rem;
    padding: 0.7rem 0.75rem;
    color: #f0f4f8;
    font-weight: 600;
}

.feature-matrix tbody td {
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    color: rgba(240, 244, 248, 0.85);
    border-bottom: 1px solid rgba(0, 229, 255, 0.06);
}

.feature-matrix .plan-col-solo {
    background: rgba(0, 229, 255, 0.03);
}

.feature-matrix .bi-check-circle-fill {
    font-size: 1.1rem;
}

.feature-matrix .bi-dash {
    font-size: 1.3rem;
}

/* ================================================================
   Phase 3: SOLO Landing Page
   Single-focus conversion layout with hero, features, widget, trust
   ================================================================ */

/* === SOLO Landing Hero === */
.solo-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 100%);
    color: #f0f4f8;
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.solo-hero .display-4 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #f0f4f8;
}

.solo-price-display {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00e5ff;
}

.solo-trial-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #f0f4f8;
}

.solo-trial-badge i {
    color: #ffc107;
}

/* === Widget Container === */
#solo-widget-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* Placeholder styles only when widget is not loaded */
#solo-widget-container.widget-placeholder {
    min-height: 300px;
    border: 2px dashed rgba(0, 229, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 40, 0.6);
    color: rgba(176, 196, 222, 0.6);
    font-size: 1.1rem;
    box-shadow: none;
}

/* === Feature List on SOLO Page === */
.solo-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 1rem;
    color: rgba(240, 244, 248, 0.85);
}

.solo-feature-item i {
    color: #00e5ff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* === SOLO Responsive === */
@media (max-width: 575.98px) {
    .solo-hero {
        padding: 3rem 0;
    }

    .solo-price-display {
        font-size: 2.5rem;
    }

    #solo-widget-container {
        min-height: 200px;
    }
}

/* === Responsive: Pricing on mobile === */
@media (max-width: 575.98px) {
    .pricing-price {
        font-size: 2rem;
    }

    .feature-matrix thead th,
    .feature-matrix tbody td {
        padding: 0.5rem 0.4rem;
        font-size: 0.8rem;
    }
}

/* ========== FAQ Pages ========== */

/* Category Cards */
.faq-category-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    color: #f0f4f8;
}

.faq-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow) !important;
    border-color: rgba(0, 229, 255, 0.2);
}

/* Article Content Typography */
.faq-article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(240, 244, 248, 0.9);
}

.faq-article-content p {
    margin-bottom: 1.25rem;
}

.faq-article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #f0f4f8;
}

.faq-article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: #f0f4f8;
}

.faq-article-content ul,
.faq-article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.faq-article-content li {
    margin-bottom: 0.5rem;
    color: rgba(240, 244, 248, 0.85);
}

.faq-article-content blockquote {
    border-left: 4px solid #00e5ff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 229, 255, 0.04);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: rgba(176, 196, 222, 0.8);
}

.faq-article-content code {
    background: rgba(0, 229, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
    color: #00e5ff;
}

.faq-article-content pre {
    background: #040a12;
    color: #e9ecef;
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.faq-article-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.faq-article-content a {
    color: #00e5ff;
    text-decoration: underline;
}

.faq-article-content a:hover {
    color: #00d4aa;
}

.faq-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.faq-article-content table {
    width: 100%;
    margin-bottom: 1.25rem;
    border-collapse: collapse;
}

.faq-article-content table th,
.faq-article-content table td {
    padding: 0.75rem;
    border: 1px solid rgba(0, 229, 255, 0.08);
}

.faq-article-content table th {
    background: rgba(0, 229, 255, 0.06);
    font-weight: 600;
    color: #f0f4f8;
}

.faq-article-content table td {
    color: rgba(240, 244, 248, 0.85);
}

/* Sidebar Links */
.faq-sidebar-link {
    color: rgba(176, 196, 222, 0.7);
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.faq-sidebar-link:hover {
    color: #00e5ff;
}

/* FAQ Search Input */
#faq-search {
    background: rgba(10, 22, 40, 0.8);
    border: 2px solid rgba(0, 229, 255, 0.15);
    font-size: 1.05rem;
    color: #f0f4f8;
    border-radius: var(--radius-sm);
}

#faq-search:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 0 0.25rem rgba(0, 229, 255, 0.15);
    background: rgba(10, 22, 40, 0.9);
    color: #f0f4f8;
}

#faq-search::placeholder {
    color: rgba(176, 196, 222, 0.4);
}

/* ================================================================
   Phase 6: Tarteaucitron Cookie Consent - Equal Prominence Overrides
   Adapted for dark cyberpunk theme
   ================================================================ */

/* Ensure both Accept All and Deny All buttons are the same size and prominence */
#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronAlertBig #tarteaucitronAllDenied,
#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
    display: inline-block !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: var(--font-primary) !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    border: 2px solid #00e5ff !important;
    margin: 4px !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

/* Accept All: filled gradient */
#tarteaucitronAlertBig #tarteaucitronPersonalize2 {
    background: linear-gradient(135deg, #00e5ff, #00d4aa) !important;
    color: #060e1a !important;
    border-color: transparent !important;
}

/* Deny All: outline cyan (same visual weight) */
#tarteaucitronAlertBig #tarteaucitronAllDenied {
    background: transparent !important;
    color: #00e5ff !important;
    border-color: #00e5ff !important;
}

/* Personalize: secondary style */
#tarteaucitronAlertBig #tarteaucitronPersonalize {
    background: transparent !important;
    color: rgba(176, 196, 222, 0.7) !important;
    border-color: rgba(176, 196, 222, 0.4) !important;
    font-weight: 400 !important;
}

/* Hover states */
#tarteaucitronAlertBig #tarteaucitronPersonalize2:hover {
    background: linear-gradient(135deg, #00f0ff, #00e0b8) !important;
    box-shadow: 0 4px 24px rgba(0, 229, 255, 0.3) !important;
}

#tarteaucitronAlertBig #tarteaucitronAllDenied:hover {
    background: rgba(0, 229, 255, 0.1) !important;
    color: #00e5ff !important;
}

/* Banner overall styling */
#tarteaucitronAlertBig {
    font-family: var(--font-primary) !important;
    background: rgba(6, 14, 26, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(0, 229, 255, 0.1) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4) !important;
    color: rgba(240, 244, 248, 0.85) !important;
}

/* Privacy policy link in cookie banner */
.tarteaucitronPrivacyUrl {
    color: #00e5ff !important;
}

/* ================================================================
   Phase 6: Privacy consent checkbox styling
   ================================================================ */

.privacy-consent-check .form-check-input:checked {
    background-color: #00e5ff;
    border-color: #00e5ff;
}

.privacy-consent-check .form-check-label a {
    color: #00e5ff;
    text-decoration: underline;
}

.privacy-consent-check .form-check-label a:hover {
    color: #00d4aa;
}

/* ================================================================
   Phase 6: Floating WhatsApp Chatbot Button
   Fixed position bottom-right, WhatsApp green, pulse animation
   ================================================================ */

.chatbot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0;
    pointer-events: none;
}

.chatbot-fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    pointer-events: auto;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.chatbot-fab-btn:hover {
    background: #20BD5A;
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.chatbot-fab-btn:focus {
    outline: 2px solid #25D366;
    outline-offset: 3px;
}

/* Tooltip label - adapted to dark theme */
.chatbot-fab-label {
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.1);
    color: #f0f4f8;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    margin-right: 10px;
    box-shadow: var(--shadow-md);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.chatbot-fab:hover .chatbot-fab-label {
    opacity: 1;
    visibility: visible;
}

/* Pulse ring animation on the button */
.chatbot-fab-btn::before {
    content: '';
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: chatbotPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes chatbotPulse {
    0% {
        opacity: 0.6;
        width: 56px;
        height: 56px;
    }
    100% {
        opacity: 0;
        width: 80px;
        height: 80px;
    }
}

/* Chatbot container placeholder (future n8n widget) */
.chatbot-container {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .chatbot-fab {
        bottom: 16px;
        right: 16px;
    }

    .chatbot-fab-label {
        display: none;
    }
}

/* ================================================================
   Form Inputs (contact/ticket pages) - Dark Theme
   ================================================================ */

.form-control, .form-select {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: #f0f4f8;
    border-radius: var(--radius-sm);
}

.form-control:focus, .form-select:focus {
    background: rgba(10, 22, 40, 0.8);
    border-color: rgba(0, 229, 255, 0.35);
    color: #f0f4f8;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.07), 0 0 20px rgba(0, 229, 255, 0.04);
}

.form-control::placeholder {
    color: rgba(176, 196, 222, 0.4);
}

.form-label {
    color: rgba(200, 220, 240, 0.85);
    font-weight: 500;
}

.form-check-input {
    background-color: rgba(10, 22, 40, 0.6);
    border-color: rgba(0, 229, 255, 0.2);
}

.form-check-input:checked {
    background-color: #00e5ff;
    border-color: #00e5ff;
}

.form-check-label {
    color: rgba(200, 220, 240, 0.85);
}

/* ================================================================
   Bootstrap Dark Theme Overrides
   ================================================================ */

/* Override Bootstrap .bg-light */
.bg-white {
    background-color: #0a1628 !important;
}

/* Override Bootstrap text utilities for dark theme */
.text-muted {
    color: rgba(176, 196, 222, 0.6) !important;
}

.text-dark {
    color: #f0f4f8 !important;
}

.text-body {
    color: #f0f4f8 !important;
}

/* Override Bootstrap border colors */
.border {
    border-color: rgba(0, 229, 255, 0.08) !important;
}

.border-bottom {
    border-bottom-color: rgba(0, 229, 255, 0.08) !important;
}

.border-top {
    border-top-color: rgba(0, 229, 255, 0.08) !important;
}

/* Bootstrap alerts - dark theme */
.alert-success {
    background: rgba(0, 212, 170, 0.1);
    border-color: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
}

.alert-danger {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.alert-info {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
}

/* Bootstrap list group - dark theme */
.list-group-item {
    background: rgba(10, 22, 40, 0.5);
    border-color: rgba(0, 229, 255, 0.08);
    color: #f0f4f8;
}

/* Bootstrap table - dark theme */
.table {
    color: rgba(240, 244, 248, 0.85);
}

.table > :not(caption) > * > * {
    background-color: transparent;
    border-bottom-color: rgba(0, 229, 255, 0.06);
    color: rgba(240, 244, 248, 0.85);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(0, 229, 255, 0.02);
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(0, 229, 255, 0.04);
}

/* Bootstrap accordion - dark theme */
.accordion-item {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: #f0f4f8;
}

.accordion-button {
    background: var(--glass-bg);
    color: #f0f4f8;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 229, 255, 0.06);
    color: #00e5ff;
    box-shadow: inset 0 -1px 0 rgba(0, 229, 255, 0.1);
}

.accordion-button::after {
    filter: invert(1) brightness(0.7);
}

.accordion-body {
    color: rgba(176, 196, 222, 0.8);
}

/* Bootstrap modal - dark theme */
.modal-content {
    background: #0a1628;
    border: 1px solid rgba(0, 229, 255, 0.1);
    color: #f0f4f8;
}

.modal-header {
    border-bottom-color: rgba(0, 229, 255, 0.08);
}

.modal-footer {
    border-top-color: rgba(0, 229, 255, 0.08);
}

.btn-close {
    filter: invert(1) brightness(0.8);
}

/* ================================================================
   Particles Background Effect (CSS only)
   ================================================================ */

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particles-bg::before,
.particles-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.06);
    animation: particleFloat 10s ease-in-out infinite;
}

.particles-bg::before {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particles-bg::after {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 15%;
    background: rgba(0, 212, 170, 0.04);
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(30px, -20px) scale(1.05); opacity: 0.6; }
    50% { transform: translate(-20px, 20px) scale(0.95); opacity: 0.3; }
    75% { transform: translate(15px, 10px) scale(1.02); opacity: 0.5; }
}

/* ================================================================
   Shimmer Animation Effect
   ================================================================ */

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

/* Generic link styling for dark theme */
a {
    color: #00e5ff;
}

a:hover {
    color: #00d4aa;
}

/* Override Bootstrap pagination for dark theme */
.page-link {
    background: rgba(10, 22, 40, 0.6);
    border-color: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
}

.page-link:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.2);
    color: #00e5ff;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #00e5ff, #00d4aa);
    border-color: transparent;
    color: #060e1a;
}

.page-item.disabled .page-link {
    background: rgba(10, 22, 40, 0.3);
    border-color: rgba(0, 229, 255, 0.05);
    color: rgba(176, 196, 222, 0.3);
}

/* Override Bootstrap badge for dark theme */
.badge.bg-primary {
    background: linear-gradient(135deg, #00e5ff, #00d4aa) !important;
    color: #060e1a !important;
}

.badge.bg-secondary {
    background: rgba(176, 196, 222, 0.2) !important;
    color: rgba(176, 196, 222, 0.8) !important;
}

.badge.bg-success {
    background: rgba(0, 212, 170, 0.15) !important;
    color: #00d4aa !important;
}

.badge.bg-danger {
    background: rgba(255, 107, 107, 0.15) !important;
    color: #ff6b6b !important;
}

.badge.bg-warning {
    background: rgba(255, 193, 7, 0.15) !important;
    color: #ffc107 !important;
}

.badge.bg-info {
    background: rgba(0, 229, 255, 0.1) !important;
    color: #00e5ff !important;
}

/* === Ambient Background Effects === */
/* Overlay above all content, non-interactive */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1019;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at 50% 40%,
        rgba(0, 229, 255, 0.03) 0%,
        transparent 55%);
    pointer-events: none;
}

.ambient-beam {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 229, 255, 0.02) 10%,
        rgba(0, 229, 255, 0.08) 50%,
        rgba(0, 229, 255, 0.02) 90%,
        transparent 100%);
    animation: beamPulse 6s ease-in-out infinite;
}

/* Secondary beam lower */
.ambient-beam::after {
    content: '';
    position: absolute;
    bottom: -40vh;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(0, 212, 170, 0.05) 30%,
        rgba(0, 212, 170, 0.08) 60%,
        transparent 95%);
    animation: beamPulse 8s ease-in-out infinite reverse;
}

@keyframes beamPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.ambient-particle {
    position: absolute;
    bottom: -10px;
    width: 2px;
    height: 2px;
    background: #00e5ff;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.2);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(30px);
        opacity: 0;
    }
}

/* Chatbot FAB stays above ambient */
.chatbot-fab {
    z-index: 1040;
}

/* Cookie consent banner above ambient */
#tarteaucitronRoot {
    z-index: 2000 !important;
}

/* === Bootstrap Dark Theme Overrides === */
.text-dark {
    color: #f0f4f8 !important;
}

.text-secondary {
    color: rgba(176, 196, 222, 0.6) !important;
}

.text-muted {
    color: rgba(176, 196, 222, 0.5) !important;
}

.text-success {
    color: #00e5ff !important;
}

.bg-light {
    background-color: #0a1628 !important;
}

.bg-white {
    background-color: #0d1b2e !important;
}

.border-0 {
    border-color: transparent !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

.shadow-lg {
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(0, 229, 255, 0.05) !important;
}

/* Form overrides */
.form-control,
.form-select {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: #f0f4f8;
    border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
    background: rgba(10, 22, 40, 0.8);
    border-color: rgba(0, 229, 255, 0.35);
    color: #f0f4f8;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.07), 0 0 20px rgba(0, 229, 255, 0.04);
}

.form-control::placeholder {
    color: rgba(176, 196, 222, 0.4);
}

.form-label {
    color: rgba(200, 220, 240, 0.85);
    font-weight: 500;
}

.form-check-input {
    background-color: rgba(10, 22, 40, 0.6);
    border-color: rgba(0, 229, 255, 0.2);
}

.form-check-input:checked {
    background-color: #00e5ff;
    border-color: #00e5ff;
}

.form-check-label {
    color: rgba(200, 220, 240, 0.8);
}

/* Alert overrides */
.alert-success {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
    color: #00e5ff;
}

.alert-danger {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* List group overrides */
.list-group-item {
    background: transparent;
    border-color: rgba(0, 229, 255, 0.06);
    color: #f0f4f8;
}

.list-group-item-action:hover {
    background: rgba(0, 229, 255, 0.04);
    color: #00e5ff;
}

/* Badge overrides */
.badge.bg-primary {
    background: rgba(0, 229, 255, 0.15) !important;
    color: #00e5ff !important;
}

.badge.bg-opacity-10 {
    opacity: 1 !important;
}

/* Table overrides */
.table {
    color: rgba(240, 244, 248, 0.85);
    border-color: rgba(0, 229, 255, 0.06);
}

.table thead th {
    border-bottom-color: rgba(0, 229, 255, 0.1);
}

/* Card text override */
.card-text, .card-body p {
    color: rgba(176, 196, 222, 0.7);
}

.card-body h5, .card-body h4, .card-body h3 {
    color: #f0f4f8;
}

/* Link color override */
a {
    color: #00e5ff;
}

a:hover {
    color: #00d4aa;
}

/* btn-light override for dark theme */
.btn-light {
    background: rgba(240, 244, 248, 0.1);
    border-color: rgba(240, 244, 248, 0.2);
    color: #f0f4f8;
}

.btn-light:hover {
    background: rgba(240, 244, 248, 0.2);
    border-color: rgba(240, 244, 248, 0.3);
    color: #f0f4f8;
}

/* hr override */
hr {
    border-color: rgba(0, 229, 255, 0.08);
    opacity: 1;
}

/* === Accessibility: reduced motion === */
@media (prefers-reduced-motion: reduce) {
    .hero-screenshot img {
        animation: none;
    }

    .hero-section::after {
        animation: none;
    }

    .ambient-beam,
    .ambient-particle {
        animation: none;
        display: none;
    }

    .showcase-card,
    .showcase-card img,
    .module-visual img,
    .feature-highlight-img,
    .feature-showcase-img,
    .module-hero-screenshot img {
        transition: none;
    }

    .chatbot-fab-btn::before {
        animation: none;
    }
}
