/* Modern Landing Page Theme - Blue-Gray Color Scheme */

:root {
    /* Primary Colors - Blue-Gray Palette */
    --primary-blue-gray: #607D8B;
    --primary-blue-gray-light: #90A4AE;
    --primary-blue-gray-dark: #455A64;
    --primary-blue-gray-darker: #263238;

    /* Tom acessivel do azul-cinza: #607D8B da 4,43:1 contra branco e reprova o minimo de
       4,5:1 do WCAG AA. Este tom da 4,78:1 e mantem a identidade da paleta. Usar sempre que
       houver texto branco sobre o fundo, ou este tom como texto sobre fundo claro. */
    --primary-blue-gray-accessible: #5C7783;
    
    /* Secondary Colors */
    --accent-blue: #2196F3;
    --accent-blue-light: #64B5F6;
    --accent-blue-dark: #1976D2;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E1E8ED;
    --dark-gray: #37474F;
    --text-primary: #263238;
    --text-secondary: #546E7A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue-gray-accessible) 0%, var(--primary-blue-gray-dark) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-blue-gray-darker) 0%, var(--primary-blue-gray) 100%);
    --gradient-card: linear-gradient(145deg, var(--white) 0%, var(--light-gray) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(96, 125, 139, 0.1);
    --shadow-md: 0 4px 12px rgba(96, 125, 139, 0.15);
    --shadow-lg: 0 8px 24px rgba(96, 125, 139, 0.2);
    --shadow-xl: 0 16px 48px rgba(96, 125, 139, 0.25);
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Poppins', 'Inter', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* font-size declarado apenas no site.css (14px). Havia 16px aqui, mas o site.css carrega
       depois e sempre vencia: esta linha era inerte e escondia qual valor vale de verdade. */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Modern Navigation */
.modern-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--medium-gray);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
    min-width: 180px;
    flex-shrink: 0;
}

/* Brand Container with Logo and Subtitle */
.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.navbar-brand img {
    height: 35px;
}

.brand-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 0.4rem;
    white-space: nowrap;
    font-size: 0.95rem;
}

.navbar-link:hover {
    color: var(--accent-blue);
    background-color: var(--light-gray);
    transform: translateY(-1px);
    text-decoration: none;
}

.navbar-link i {
    font-size: 1rem;
    min-width: 16px;
}

.navbar-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    font-weight: 600;
    margin-left: 0.5rem;
}

.navbar-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: var(--gradient-hero);
    color: var(--white) !important;
    text-decoration: none;
}

/* Highlight for Validar Documento - Nielsen's Visibility Heuristic */
.navbar-highlight {
    background: linear-gradient(135deg, #3b82f6, #6b7280) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
    position: relative;
}

.navbar-highlight:hover {
    background: linear-gradient(135deg, #2563eb, #4b5563) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

.navbar-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6, #6b7280);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    animation: pulse-highlight 2s infinite;
}

@keyframes pulse-highlight {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* Hide navbar on login page */
.navbar-hidden {
    display: none !important;
}

/* Hidden Dashboard Access - Temporary */
.navbar-hidden-dashboard {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.navbar-hidden-dashboard:hover {
    opacity: 1;
}

.navbar-dashboard-hidden {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    padding: 0.6rem !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.navbar-dashboard-hidden:hover {
    background: linear-gradient(135deg, #4b5563, #374151) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.hero-cta-primary {
    background: var(--accent-blue);
    color: var(--white);
}

.hero-cta-primary:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: var(--white);
}

/* Hero CTA Highlight for Validar Documento */
.hero-cta-highlight {
    background: linear-gradient(135deg, #3b82f6, #6b7280) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    animation: glow-pulse 3s infinite;
}

.hero-cta-highlight:hover {
    background: linear-gradient(135deg, #2563eb, #4b5563) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
    color: var(--white);
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5); }
}

/* Slide Content */
.slide-content {
    position: absolute;
    top: 20%;
    left: 2rem;
    z-index: 5;
    color: var(--white);
    max-width: 400px;
}

.slide-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hero Navigation - Improved for Nielsen's Heuristics */
.hero-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.hero-nav-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid rgba(96, 125, 139, 0.7);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-nav-dot:hover {
    background: rgba(96, 125, 139, 0.6);
    border-color: rgba(69, 90, 100, 0.9);
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(96, 125, 139, 0.4);
}

.hero-nav-dot.active {
    background: rgba(96, 125, 139, 0.9);
    border-color: rgba(69, 90, 100, 1);
    transform: scale(1.4);
    box-shadow: 0 10px 30px rgba(96, 125, 139, 0.5);
}

.hero-nav-dot:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15;
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Unified Button Styles - Nielsen's Consistency Heuristic */
.hero-nav-dot,
.carousel-nav,
.navbar-highlight {
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-nav-dot,
.carousel-nav {
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-nav-dot:hover,
.carousel-nav:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    padding: 3rem 0;
    background: var(--light-gray);
    scroll-margin-top: 80px; /* Account for fixed navbar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--gradient-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--medium-gray);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
   
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Ícones de recursos com cores suaves variadas */
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

/* Ícones da seção de contato com cores específicas */
#contato .modern-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

#contato .modern-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

#contato .modern-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Estilo específico para o ícone do WhatsApp */
#contato .modern-card:nth-child(3) .feature-icon i.fab.fa-whatsapp {
    color: var(--white);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Modern Cards */
.modern-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.modern-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-secondary-modern {
    background: var(--white);
    color: var(--primary-blue-gray-accessible);
    border: 2px solid var(--primary-blue-gray-light);
}

.btn-secondary-modern:hover {
    background: var(--primary-blue-gray-accessible);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
.modern-footer {
    background: var(--primary-blue-gray-darker);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
    justify-items: center;
    text-align: center;
    margin-top: -25px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--primary-blue-gray-light);
    text-decoration: none;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--primary-blue-gray);
    padding: 2.25rem 0;
    text-align: center;
    color: var(--primary-blue-gray-light);
    font-size: 0.9rem;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Nielsen's Heuristics - Accessibility and Usability Improvements */
/* Focus states for better keyboard navigation */
.navbar-link:focus,
.hero-cta:focus,
.btn-modern:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Error prevention - Better visual feedback */
.navbar-link:active,
.hero-cta:active {
    transform: translateY(0);
}

/* Consistency and standards - Uniform spacing */
.slide-content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Help users recognize, diagnose, and recover from errors */
.hero-nav-dot[aria-label] {
    position: relative;
}

.hero-nav-dot[aria-label]:hover::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
}

/* Improved mobile slide content positioning */
@media (max-width: 768px) {
    .slide-content {
        top: 15%;
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .slide-title {
        font-size: 1.4rem;
    }
    
    .slide-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 1rem;
    }
    
    .carousel-next {
        right: 1rem;
    }
    
    .brand-container {
        gap: 0.1rem;
    }
    
    .brand-subtitle {
        font-size: 0.6rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
    
    .navbar-menu {
        gap: 1rem;
    }
    
    .navbar-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .navbar-cta {
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        min-width: auto;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--medium-gray);
        gap: 0.5rem;
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-item {
        width: 100%;
    }
    
    .navbar-link {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        border-radius: 12px;
        font-size: 1rem;
    }
    
    .navbar-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .hero-section {
        min-height: 600px;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading-spinner {
    border: 3px solid var(--medium-gray);
    border-top: 3px solid var(--accent-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main content with navbar spacing */
.main-with-navbar {
    padding-top: 80px; /* Account for fixed navbar */
}

/* Active navigation state */
.navbar-link.active {
    color: var(--accent-blue) !important;
    background-color: var(--light-gray);
    transform: translateY(-1px);
}

/* Enhanced transitions for mobile */
@media (max-width: 768px) {
    .main-with-navbar {
        padding-top: 70px;
    }
}

/* Hero Slide Info Styles */
.hero-slide-info {
    position: absolute;
    top: -160px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 12;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    pointer-events: none;
}

.hero-slide-info.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(96, 125, 139, 0.95);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInfoFloat 3s ease-in-out infinite;
}

.slide-badge i {
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.slide-description {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 auto;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    line-height: 1.6;
    padding: 0 2rem;
}

@keyframes slideInfoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Responsive adjustments for slide info */
@media (max-width: 768px) {
    .hero-slide-info {
        top: -120px;
        padding: 0 1rem;
    }
    
    .slide-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        gap: 0.4rem;
    }
    
    .slide-description {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-slide-info {
        top: -100px;
    }
    
    .slide-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .slide-description {
        font-size: 0.95rem;
    }
}
