/* =======================================================
   NEXUS ACADEMY EXPERIENCE - PREMIUM STYLING SYSTEM
   VERSION: v7.0.1 Super EAD Platform
   ======================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --nexus-bg-dark: #060913;
    --nexus-bg-card: rgba(15, 23, 42, 0.65);
    --nexus-bg-glass: rgba(255, 255, 255, 0.03);
    --nexus-border-glass: rgba(255, 255, 255, 0.08);
    
    --nexus-primary: #0f2c59; /* UNINTER Navy Blue */
    --nexus-primary-hover: #173b75;
    --nexus-secondary: #facc15; /* Vibrant Gold */
    --nexus-secondary-hover: #eab308;
    --nexus-accent: #ef4444; /* Alert red */
    
    --nexus-text-primary: #f8fafc;
    --nexus-text-secondary: #94a3b8;
    --nexus-text-muted: #64748b;
    
    --nexus-success: #10b981;
    --nexus-warning: #f59e0b;
    
    --nexus-font-heading: 'Outfit', 'Inter', sans-serif;
    --nexus-font-body: 'Inter', sans-serif;
    
    --nexus-transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --nexus-glow-primary: 0 0 25px rgba(250, 204, 21, 0.25);
}

/* Global Container Styles */
.nexus-v7-root {
    font-family: var(--nexus-font-body);
    background-color: var(--nexus-bg-dark);
    color: var(--nexus-text-primary);
    padding: 30px 15px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--nexus-border-glass);
}

.nexus-v7-root * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Premium Hero Section */
.nexus-v7-hero {
    background: radial-gradient(circle at top right, rgba(250, 204, 21, 0.08), transparent), 
                radial-gradient(circle at bottom left, rgba(23, 59, 117, 0.35), transparent),
                #070d1a;
    padding: 80px 40px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--nexus-border-glass);
    margin-bottom: 40px;
    position: relative;
}

.nexus-v7-hero-badge {
    background: linear-gradient(90deg, rgba(250, 204, 21, 0.15), rgba(23, 59, 117, 0.35));
    border: 1px solid rgba(250, 204, 21, 0.3);
    color: var(--nexus-secondary);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.nexus-v7-hero h1 {
    font-family: var(--nexus-font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(to right, #ffffff, var(--nexus-secondary), #fef08a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.nexus-v7-hero p {
    font-size: 1.15rem;
    color: var(--nexus-text-secondary);
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* Advanced Search Bar */
.nexus-v7-search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.nexus-v7-search-input {
    width: 100%;
    background: rgba(15, 22, 42, 0.8);
    border: 1px solid var(--nexus-border-glass);
    padding: 16px 20px 16px 50px;
    border-radius: 100px;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--nexus-font-body);
    transition: var(--nexus-transition-smooth);
    outline: none;
}

.nexus-v7-search-input:focus {
    border-color: var(--nexus-primary);
    box-shadow: var(--nexus-glow-primary);
}

.nexus-v7-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nexus-text-muted);
}

/* Categories & Filters */
.nexus-v7-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.nexus-v7-filter-btn {
    background: var(--nexus-bg-glass);
    border: 1px solid var(--nexus-border-glass);
    color: var(--nexus-text-secondary);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--nexus-font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-filter-btn:hover, .nexus-v7-filter-btn.active {
    background: var(--nexus-primary);
    border-color: var(--nexus-primary);
    color: #ffffff;
    box-shadow: var(--nexus-glow-primary);
    transform: translateY(-2px);
}

/* Grid System & Glassmorphism Cards */
.nexus-v7-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.nexus-v7-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 16px;
    padding: 30px;
    transition: var(--nexus-transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.nexus-v7-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--nexus-primary), var(--nexus-secondary));
    opacity: 0;
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

.nexus-v7-card:hover::before {
    opacity: 1;
}

.nexus-v7-card-category {
    font-size: 0.75rem;
    color: var(--nexus-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.nexus-v7-card-title {
    font-family: var(--nexus-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--nexus-text-primary);
}

.nexus-v7-card-summary {
    font-size: 0.95rem;
    color: var(--nexus-text-secondary);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.nexus-v7-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--nexus-border-glass);
    padding-top: 20px;
    margin-top: auto;
}

.nexus-v7-meta-item {
    font-size: 0.85rem;
    color: var(--nexus-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Premium Buttons & Interactive States */
.nexus-v7-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--nexus-secondary), var(--nexus-secondary-hover));
    color: #060913 !important;
    text-decoration: none !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--nexus-font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--nexus-transition-smooth);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.25);
}

.nexus-v7-btn:hover {
    background: linear-gradient(135deg, var(--nexus-secondary-hover), var(--nexus-secondary));
    box-shadow: 0 0 25px rgba(250, 204, 21, 0.5);
    transform: translateY(-2px);
}

.nexus-v7-btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--nexus-border-glass);
    box-shadow: none;
    color: #ffffff !important;
}

.nexus-v7-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: none;
}

.nexus-v7-btn-accent {
    background: linear-gradient(135deg, var(--nexus-accent), #e11d48);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

.nexus-v7-btn-accent:hover {
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.4);
}

/* Timeline of academic differences */
.nexus-v7-timeline {
    margin: 50px 0;
    border-left: 2px solid var(--nexus-border-glass);
    padding-left: 25px;
}

.nexus-v7-timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.nexus-v7-timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--nexus-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--nexus-secondary);
}

.nexus-v7-timeline-title {
    font-family: var(--nexus-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--nexus-text-primary);
}

.nexus-v7-timeline-desc {
    font-size: 0.95rem;
    color: var(--nexus-text-secondary);
    line-height: 1.5;
}

/* FAQ Expander Accordion */
.nexus-v7-faq {
    margin-bottom: 50px;
}

.nexus-v7-faq-item {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-faq-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--nexus-font-heading);
    font-weight: 600;
    color: var(--nexus-text-primary);
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-faq-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.nexus-v7-faq-icon {
    transition: var(--nexus-transition-smooth);
    color: var(--nexus-secondary);
}

.nexus-v7-faq-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--nexus-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.nexus-v7-faq-item.active .nexus-v7-faq-content {
    padding: 0 25px 25px;
    max-height: 500px;
}

.nexus-v7-faq-item.active .nexus-v7-faq-icon {
    transform: rotate(180deg);
}

/* Dynamic Enrollment Form */
.nexus-v7-form-card {
    background: radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.05), transparent), var(--nexus-bg-card);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 20px;
    padding: 40px;
    max-width: 650px;
    margin: 0 auto;
}

.nexus-v7-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.nexus-v7-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nexus-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nexus-v7-form-input {
    width: 100%;
    background: rgba(7, 9, 19, 0.8);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 10px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: var(--nexus-font-body);
    font-size: 0.95rem;
    transition: var(--nexus-transition-smooth);
    outline: none;
}

.nexus-v7-form-input:focus {
    border-color: var(--nexus-secondary);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.nexus-v7-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    text-align: left;
}

.nexus-v7-checkbox-group input {
    margin-top: 4px;
}

.nexus-v7-checkbox-group label {
    font-size: 0.85rem;
    color: var(--nexus-text-secondary);
    line-height: 1.5;
}

/* Static legal disclosures (strict compliance) */
.nexus-v7-legal-block {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--nexus-text-muted);
    line-height: 1.6;
    text-align: justify;
    margin-top: 40px;
}

/* Student Portal & Simulators */
.nexus-v7-portal {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 20px;
    padding: 35px;
}

.nexus-v7-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--nexus-border-glass);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.nexus-v7-student-badge {
    background: rgba(14, 165, 233, 0.15);
    color: var(--nexus-secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nexus-v7-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    margin: 10px 0 20px;
}

.nexus-v7-progress-value {
    height: 100%;
    background: linear-gradient(90deg, var(--nexus-primary), var(--nexus-secondary));
    border-radius: 100px;
    transition: width 1s ease-in-out;
}

/* Float Sticky WhatsApp capturing lead widget */
.nexus-v7-whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #25d366;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--nexus-transition-smooth);
    border: none;
    outline: none;
}

.nexus-v7-whatsapp-sticky:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.nexus-v7-whatsapp-sticky svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

/* Mobile Quick Navigation Bar (Bottom) */
.nexus-v7-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(7, 9, 19, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--nexus-border-glass);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 9998;
}

.nexus-v7-mobile-nav-item {
    color: var(--nexus-text-secondary);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-mobile-nav-item:hover, .nexus-v7-mobile-nav-item.active {
    color: var(--nexus-secondary);
}

.nexus-v7-mobile-nav-item svg {
    width: 22px;
    height: 22px;
    margin-bottom: 3px;
    fill: currentColor;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .nexus-v7-hero {
        padding: 50px 20px;
    }
    
    .nexus-v7-hero h1 {
        font-size: 2.2rem;
    }
    
    .nexus-v7-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nexus-v7-mobile-nav {
        display: flex;
    }
    
    .nexus-v7-root {
        padding-bottom: 70px; /* Space for bottom nav bar */
    }
    
    .nexus-v7-whatsapp-sticky {
        bottom: 85px; /* Stay above bottom nav */
    }
}

/* =======================================================
   NEXUS v7.0.1 PREMIUM ADDITIONAL INTERACTIVE STYLES
   ======================================================= */

/* Typing Animation Cursor */
.nexus-v7-typed-cursor {
    color: var(--nexus-secondary);
    font-weight: 400;
    margin-left: 4px;
    animation: nexus-blink 0.8s infinite;
}

@keyframes nexus-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Frosted Glass Course Details Modal */
.nexus-v7-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 20px;
}

.nexus-v7-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.nexus-v7-modal-body {
    background: radial-gradient(ellipse at bottom right, rgba(99, 102, 241, 0.04), transparent), #0c1122;
    border: 1px solid var(--nexus-border-glass);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.1);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nexus-v7-modal-overlay.active .nexus-v7-modal-body {
    transform: scale(1) translateY(0);
}

.nexus-v7-modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nexus-border-glass);
    color: var(--nexus-text-secondary);
    font-size: 1.5rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--nexus-transition-smooth);
    z-index: 10;
}

.nexus-v7-modal-close-btn:hover {
    background: var(--nexus-accent);
    color: #ffffff;
    border-color: var(--nexus-accent);
    transform: rotate(90deg);
}

/* Multi-step Form Wizard */
.nexus-v7-form-step {
    display: none;
    animation: nexus-step-fade 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.nexus-v7-form-step.active {
    display: block;
}

@keyframes nexus-step-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.nexus-v7-step-indicator {
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-step-indicator span {
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-step-indicator.active span {
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
    border-color: var(--nexus-secondary);
}

.nexus-v7-step-indicator.completed span {
    background: var(--nexus-success) !important;
    border-color: var(--nexus-success) !important;
    color: #ffffff !important;
}

.nexus-v7-step-indicator.completed {
    color: var(--nexus-success) !important;
}

/* Custom Modal Syllabus Details Layout */
.nexus-v7-modal-title {
    font-family: var(--nexus-font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Trust Metrics Banner */
.nexus-v7-metrics-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(15, 22, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 45px;
    margin-top: -20px;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

.nexus-v7-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.nexus-v7-metric-val {
    font-family: var(--nexus-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--nexus-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.nexus-v7-metric-lbl {
    font-size: 0.85rem;
    color: var(--nexus-text-secondary);
    font-weight: 500;
}

.nexus-v7-metric-divider {
    width: 1px;
    background: var(--nexus-border-glass);
    height: 35px;
    margin: auto 0;
}

@media (max-width: 768px) {
    .nexus-v7-metrics-banner {
        grid-template-columns: 1fr 1fr;
        gap: 20px 0;
        padding: 20px;
    }
    .nexus-v7-metric-divider {
        display: none;
    }
}

/* Mouse-Following Glow on Cards */
.nexus-v7-card {
    position: relative;
    overflow: hidden;
}

.nexus-v7-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.08), transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.nexus-v7-card:hover .nexus-v7-card-glow {
    opacity: 1;
}

.nexus-v7-card-cover-wrapper {
    position: relative;
    z-index: 2;
}

.nexus-v7-card:hover .nexus-v7-card-cover {
    transform: scale(1.06);
}

/* Card Category Tags */
.nexus-v7-card-badge {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.nexus-v7-tag-tech {
    background: rgba(99, 102, 241, 0.15) !important;
    border: 1px solid rgba(99, 102, 241, 0.4) !important;
    color: #c7d2fe !important;
}
.nexus-v7-tag-mgmt {
    background: rgba(14, 165, 233, 0.15) !important;
    border: 1px solid rgba(14, 165, 233, 0.4) !important;
    color: #bae6fd !important;
}
.nexus-v7-tag-edu {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #a7f3d0 !important;
}
.nexus-v7-tag-free {
    background: rgba(244, 63, 94, 0.15) !important;
    border: 1px solid rgba(244, 63, 94, 0.4) !important;
    color: #fecdd3 !important;
}

/* Form Wizard Upgrades & Validation */
.nexus-v7-form-input.is-valid {
    border-color: var(--nexus-success) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15) !important;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2310b981" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.nexus-v7-form-input.is-invalid {
    border-color: var(--nexus-accent) !important;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.15) !important;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23f43f5e" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* =======================================================
   NEXUS v7.0.3 MEGA SEARCH & TESTIMONIALS STYLE ADDITIONS
   ======================================================= */

/* Autocomplete Mega Search Dropdown */
.nexus-v7-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(11, 19, 43, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(250, 204, 21, 0.08);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
    text-align: left;
}

.nexus-v7-autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 10px;
    transition: var(--nexus-transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    margin-bottom: 5px;
}

.nexus-v7-autocomplete-item:hover {
    background: rgba(250, 204, 21, 0.08);
    border-color: rgba(250, 204, 21, 0.25);
}

.nexus-v7-autocomplete-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-grow: 1;
    margin-right: 15px;
}

.nexus-v7-autocomplete-title {
    font-family: var(--nexus-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.nexus-v7-autocomplete-meta {
    font-size: 0.8rem;
    color: var(--nexus-text-secondary);
}

.nexus-v7-autocomplete-price {
    font-family: var(--nexus-font-heading);
    font-weight: 700;
    color: var(--nexus-secondary);
    font-size: 0.9rem;
    text-align: right;
    margin-right: 20px;
}

.nexus-v7-autocomplete-action {
    display: inline-flex;
    align-items: center;
    background: var(--nexus-secondary);
    color: var(--nexus-bg-dark) !important;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-autocomplete-action:hover {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.nexus-v7-autocomplete-no-results {
    padding: 20px;
    text-align: center;
    color: var(--nexus-text-secondary);
    font-size: 0.9rem;
}

/* Testimonials Video Grid */
.nexus-v7-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.nexus-v7-video-card {
    background: var(--nexus-bg-card);
    border: 1px solid var(--nexus-border-glass);
    border-radius: 20px;
    padding: 15px;
    transition: var(--nexus-transition-smooth);
    display: flex;
    flex-direction: column;
}

.nexus-v7-video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.nexus-v7-video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9/16; /* Reels aspect ratio */
    height: 380px;
    margin-bottom: 15px;
    background: #000000;
}

.nexus-v7-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--nexus-transition-smooth);
}

.nexus-v7-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
    z-index: 2;
}

.nexus-v7-video-play-btn {
    align-self: center;
    margin-top: auto;
    margin-bottom: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.9);
    color: var(--nexus-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--nexus-transition-smooth);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}

.nexus-v7-video-card:hover .nexus-v7-video-play-btn {
    transform: scale(1.1);
    background: #ffffff;
}

.nexus-v7-video-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.nexus-v7-video-student {
    font-family: var(--nexus-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
}

.nexus-v7-video-course {
    font-size: 0.8rem;
    color: var(--nexus-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nexus-v7-video-quote {
    font-size: 0.92rem;
    color: var(--nexus-text-secondary);
    line-height: 1.5;
    font-style: italic;
    flex-grow: 1;
    text-align: center;
    padding: 5px 10px;
}

@media (max-width: 992px) {
    .nexus-v7-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .nexus-v7-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .nexus-v7-video-container {
        height: 340px;
    }
}

/* =======================================================
   NEXUS v7.1.0 FULL-BLEED & AUTOMATIC BANNERS CAROUSEL
   ======================================================= */

/* 1. MÁGICA DE QUEBRAR O TEMA DO WORDPRESS (FULL WIDTH) */
.nexus-full-width-breakout {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow-x: hidden;
    border-radius: 0 !important;
}

/* 2. ESTRUTURA DO CARROSSEL */
.nexus-carousel-container {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 520px;
    overflow: hidden;
    background-color: var(--nexus-primary);
}

.nexus-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.nexus-carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nexus-carousel-slide.active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.nexus-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}

.nexus-carousel-slide.active-slide .nexus-slide-bg {
    transform: scale(1);
}

.nexus-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 44, 89, 0.88) 0%, rgba(6, 9, 19, 0.72) 100%);
    z-index: 1;
}

.nexus-slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: -60px;
}

.nexus-hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nexus-hero-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nexus-badge-highlight {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 3. CAIXA DE BUSCA FLUTUANTE (Glassmorphism Centralizado) */
.nexus-search-glass-wrapper {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 620px;
    z-index: 10;
}

/* 4. CONTROLES E INDICADORES DO CARROSSEL */
.nexus-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35) !important;
    color: white !important;
    border: none;
    font-size: 1.8rem;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 8px;
    transition: var(--nexus-transition-smooth);
}

.nexus-carousel-btn:hover {
    background: var(--nexus-secondary) !important;
    color: var(--nexus-bg-dark) !important;
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
}

.prev-btn { left: 25px; }
.next-btn { right: 25px; }

.nexus-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nexus-dot {
    width: 10px; height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--nexus-transition-smooth);
}

.nexus-dot.active-dot {
    background: var(--nexus-secondary);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--nexus-secondary);
}

/* 5. RESPONSIVIDADE EXTREMA (MOBILE-FIRST) */
@media (max-width: 768px) {
    .nexus-hero-title { font-size: 2.1rem; }
    .nexus-carousel-btn { display: none; }
    .nexus-search-glass-wrapper { bottom: 35px; width: 95%; }
    .nexus-slide-content { margin-top: -100px; }
    .nexus-carousel-container {
        height: 60vh;
        min-height: 480px;
    }
}

/* =========================================================
   INEA - ESTILOS DO CARROSSEL DE TOPO
   Documentação: Remove o título padrão do tema e estiliza 
   os novos banners de forma profissional.
========================================================== */

/* 1. OCULTA O CABEÇALHO VERDE PADRÃO DO TEMA WORDPRESS */
.page-header, 
.entry-header, 
.nv-page-title, 
header.entry-header {
    display: none !important;
}

/* Removemos o espaçamento extra que os temas costumam deixar no topo */
.site-content {
    padding-top: 0 !important;
}

/* 2. ESTRUTURA DO NOVO CARROSSEL DE TOPO */
.inea-top-carousel-wrapper {
    position: relative;
    width: 100vw !important;
    height: 60vh; /* Altura ideal para o topo */
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    background-color: #0a192f; /* Azul escuro corporativo/aeroespacial */
    margin-bottom: 40px; /* Dá um espaço antes do próximo conteúdo */
}

.inea-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.inea-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inea-slide.inea-active-slide {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

/* Efeito sutil de zoom no fundo para dar sensação de movimento */
.inea-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 7s ease-out;
}

.inea-slide.inea-active-slide .inea-slide-bg {
    transform: scale(1);
}

/* Gradiente escuro para garantir que o texto branco seja sempre legível */
.inea-overlay-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.5) 100%);
    z-index: 1;
}

.inea-slide-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    text-align: left; /* Texto alinhado à esquerda para visual mais sério/acadêmico */
}

.inea-institute-name {
    display: inline-block;
    color: #4ade80; /* Verde neon tecnológico para destacar a área */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.inea-slide-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 20px;
    max-width: 800px;
}

.inea-slide-desc {
    color: #cbd5e1;
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 35px;
}

/* Botão de Ação (Call to Action) */
.inea-btn-action {
    display: inline-block;
    background-color: #10b981; /* Verde esmeralda */
    color: #ffffff;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.inea-btn-action:hover {
    background-color: #059669;
    transform: translateY(-2px);
    color: #ffffff;
}

/* 3. NAVEGAÇÃO DO CARROSSEL (BOLINHAS) */
.inea-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.inea-dot {
    width: 30px; 
    height: 4px; /* Formato de traço (moderno) em vez de bolinha */
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.inea-dot.inea-active-dot {
    background: #10b981; /* Verde esmeralda */
    width: 45px; /* Expande levemente quando ativo */
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .inea-slide-title { font-size: 2.2rem; }
    .inea-slide-content { text-align: center; padding: 0 20px; }
    .inea-overlay-gradient { background: linear-gradient(0deg, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.6) 100%); }
    .inea-slide-desc { margin: 0 auto 30px auto; }
}

/* =========================================================
   INEA - BARRA INSTITUCIONAL E MODAIS
========================================================== */

/* BARRA SUPERIOR */
.inea-institutional-bar {
    background-color: #050d1a; /* Azul muito escuro, quase preto */
    color: #94a3b8; /* Texto cinza claro */
    font-size: 0.85rem;
    padding: 8px 0;
    width: 100vw;
    position: relative;
    left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inea-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inea-bar-info strong {
    color: #ffffff;
}

.inea-bar-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.inea-btn-link {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.inea-btn-link:hover { color: #10b981; }

.inea-btn-solid {
    background-color: #10b981;
    color: #ffffff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.inea-btn-solid:hover { background-color: #059669; }

/* ESTILOS DO MODAL (Pop-up) */
.inea-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(5, 13, 26, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.inea-modal-overlay.inea-modal-active {
    opacity: 1;
    visibility: visible;
}

.inea-modal-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.inea-modal-overlay.inea-modal-active .inea-modal-box {
    transform: translateY(0);
}

.inea-close-modal {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    font-size: 1.5rem; color: #64748b;
    cursor: pointer;
}

.inea-modal-title {
    color: #0f172a;
    font-size: 1.8rem; margin-top: 0; margin-bottom: 5px;
}

.inea-modal-subtitle {
    color: #64748b; font-size: 0.95rem; margin-bottom: 25px;
}

/* FORMULÁRIOS INTERNOS */
.inea-input-group { margin-bottom: 15px; }
.inea-input-group label {
    display: block; font-size: 0.85rem;
    font-weight: bold; color: #334155; margin-bottom: 5px;
}
.inea-input-group input, .inea-input-group select {
    width: 100%; padding: 12px;
    border: 1px solid #cbd5e1; border-radius: 4px;
    font-size: 1rem; box-sizing: border-box;
}
.inea-input-group input:focus {
    border-color: #10b981; outline: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.inea-form-actions {
    display: flex; justify-content: space-between;
    font-size: 0.85rem; margin-bottom: 20px;
}
.inea-forgot-pass { color: #2563eb; text-decoration: none; }

.inea-btn-submit {
    width: 100%; padding: 14px;
    background-color: #2563eb; color: white;
    border: none; border-radius: 4px;
    font-size: 1.1rem; font-weight: bold;
    cursor: pointer; transition: 0.3s;
}
.inea-btn-submit:hover { opacity: 0.9; }

@media (max-width: 768px) {
    .inea-hide-mobile { display: none; } /* Esconde o CNPJ no mobile para não espremer */
    .inea-bar-container { flex-direction: column; gap: 10px; padding: 15px; }
    .inea-modal-box { margin: 20px; padding: 25px; }
}

/* =======================================================
   INEA - PORTAL PÚBLICO DE AUTENTICIDADE CRIPTOGRÁFICA
   ======================================================= */
.inea-validator-wrapper {
    font-family: var(--nexus-font-body);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transition: var(--nexus-transition-smooth);
}

.inea-validator-wrapper input:focus {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3) !important;
    border: 1px solid #2563eb !important;
}

/* Result Cards styling */
.inea-validation-card {
    border-radius: 12px;
    padding: 25px;
    margin-top: 10px;
    animation: inea-fade-in 0.4s ease-out;
    border: 1px solid rgba(255,255,255,0.08);
}

.inea-validation-card-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.inea-validation-card-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.1);
}

.inea-val-status-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.inea-val-status-icon {
    font-size: 2.2rem;
}

.inea-val-status-title {
    font-family: var(--nexus-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.inea-val-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px 25px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.inea-val-detail-label {
    color: var(--nexus-text-secondary);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.inea-val-detail-value {
    color: #ffffff;
    font-weight: 600;
}

.inea-val-hash-block {
    grid-column: 1 / -1;
    margin-top: 10px;
    background: rgba(0,0,0,0.2);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
}

.inea-val-hash-completo {
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--nexus-text-secondary);
    word-break: break-all;
}

@keyframes inea-fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================================================
   INEA - SUPER AGENTE DE ATENDIMENTO VIRTUAL (CHAT WIDGET)
   ======================================================= */

/* Floating Chat Bubble Button */
.inea-chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.inea-chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5), 0 0 30px rgba(37, 99, 235, 0.4);
}

.inea-chat-bubble-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.inea-chat-bubble-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #060913;
    animation: pulse 2s infinite;
}

/* Chat Container Panel */
.inea-chat-container {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 140px);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    z-index: 9999998 !important;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.inea-chat-container.inea-chat-active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Chat Header */
.inea-chat-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(30, 41, 59, 0.4));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inea-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.inea-chat-title {
    font-family: var(--nexus-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.inea-chat-status {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.inea-chat-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}

.inea-chat-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.inea-chat-close-btn:hover {
    color: #ffffff;
}

/* Chat Messages Area */
.inea-chat-messages-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scrollbar-width: none; /* Firefox */
}

.inea-chat-messages-area::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Chat Bubbles */
.inea-chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    animation: chat-msg-fade 0.25s ease-out;
}

.inea-chat-msg-student {
    background: #2563eb;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.inea-chat-msg-agent {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: justify;
}

.inea-chat-msg-agent p {
    margin-bottom: 8px;
}
.inea-chat-msg-agent p:last-child {
    margin-bottom: 0;
}

.inea-chat-msg-agent strong {
    color: #facc15;
}

/* Chat Footer / Input Form */
.inea-chat-footer {
    padding: 15px 20px;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 10px;
    align-items: center;
}

.inea-chat-footer input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 18px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.inea-chat-footer input:focus {
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.inea-chat-send-btn {
    background: #2563eb;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    outline: none;
}

.inea-chat-send-btn:hover {
    background: #1d4ed8;
    transform: scale(1.05);
}

/* Typing Indicator Animation */
.inea-chat-typing {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.inea-chat-typing span {
    width: 7px;
    height: 7px;
    background: #94a3b8;
    border-radius: 50%;
    animation: inea-typing-dot 1.4s infinite ease-in-out both;
}

.inea-chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.inea-chat-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes inea-typing-dot {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes chat-msg-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@media (max-width: 480px) {
    .inea-chat-container {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 80px;
        right: 20px;
    }
    .inea-chat-bubble {
        bottom: 20px;
        right: 20px;
    }
    .inea-proactive-tooltip {
        bottom: 80px;
        right: 20px;
        width: calc(100vw - 40px);
    }
}

/* =========================================================
   INEA - RETENÇÃO PROATIVA VISUAL STYLING (v8.1.0)
   ========================================================== */

.inea-chat-pulse-active {
    animation: inea-tutor-glow-pulse 2s infinite !important;
}

@keyframes inea-tutor-glow-pulse {
    0% {
        box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.3), 0 0 0 0 rgba(168, 85, 247, 0.7);
    }
    70% {
        box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.5), 0 0 0 12px rgba(168, 85, 247, 0);
    }
    100% {
        box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.3), 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* Glassmorphic Proactive Tooltip */
.inea-proactive-tooltip {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 300px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    color: #f8fafc;
    font-size: 0.85rem;
    line-height: 1.4;
    z-index: 9999997 !important;
    display: none;
    cursor: pointer;
    animation: inea-tooltip-fade-in 0.4s ease-out;
}

.inea-proactive-tooltip:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.inea-proactive-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #c084fc;
    font-size: 0.9rem;
}

.inea-proactive-tooltip-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.inea-proactive-tooltip-close:hover {
    color: #f1f5f9;
}

@keyframes inea-tooltip-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   INEA - EXPERIÊNCIA WHATSAPP-LIKE & SPEECH-TO-TEXT (v8.4.0)
   ========================================================== */

/* Microphone and Input controls */
.inea-chat-mic-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    font-size: 1.1rem !important;
    padding: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.inea-chat-mic-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1) !important;
}

.inea-chat-mic-btn.inea-mic-active {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px #ef4444 !important;
    animation: inea-mic-pulse 1.3s infinite ease-in-out !important;
}

@keyframes inea-mic-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* WhatsApp bubble borders and margins */
.inea-chat-msg {
    position: relative !important;
    padding: 12px 16px 8px 16px !important;
    margin-bottom: 8px !important;
    font-size: 0.92rem !important;
    max-width: 85% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
}

.inea-chat-msg-student {
    background: #0b6623 !important;
    color: #ffffff !important;
    border-radius: 16px 16px 2px 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    align-self: flex-end !important;
}

.inea-chat-msg-agent {
    background: rgba(30, 41, 59, 0.85) !important;
    color: #f1f5f9 !important;
    border-radius: 16px 16px 16px 2px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    align-self: flex-start !important;
}

/* WhatsApp Blue Ticks Delivery Indicator */
.inea-chat-ticks {
    font-family: Arial, sans-serif !important;
    letter-spacing: -1px !important;
}

/* Speaker sound toggle styling (v8.4.0) */
.inea-chat-sound-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.inea-chat-sound-btn:hover {
    transform: scale(1.15) !important;
    opacity: 1 !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
}

.inea-chat-sound-btn:active {
    transform: scale(0.9) !important;
}




