/* ==========================================================================
   brokers InsurTech Pro - Stylesheet
   Theme: Enterprise SaaS - Hybrid Dark Hero & Ultra-Clean Light Body
   Design Concept: Visual Alignment with screen.png & Real Software Screenshots
   ========================================================================== */

/* 1. DESIGN VARIABLES */
:root {
    /* Dark Navy Theme (Hero, Header, Trust Bar, Footer) */
    --bg-dark-base: #060a12;
    --bg-dark-surface: #0a0f1d;
    --bg-dark-bar: #0d1424;
    
    /* Light Theme (Why Choose Us, Features, Pricing, Contact) */
    --bg-light-base: #ffffff;
    --bg-light-surface: #fafbfe;
    --bg-light-card: #ffffff;
    
    /* Accent Colors */
    --color-cyan: #00f2fe;
    --color-blue: #4facfe;
    --color-gold: #c5a880;
    --color-green-whatsapp: #25d366;
    
    /* Real Software Sidebar Slate Palette */
    --bg-software-side: #47505f;
    --bg-software-side-active: #38404d;
    --bg-software-body: #f4f6f9;
    
    /* Real Software Colored Box Hex Codes */
    --color-box-blue: #2e8bd6;
    --color-box-red: #e95753;
    --color-box-purple: #8c46ad;
    --color-box-teal: #27c3c6;
    
    /* Borders & Outlines */
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e6edf5;
    --border-focus-light: #00f2fe;
    
    /* Light Theme Text */
    --text-light-title: #0f172a;
    --text-light-body: #475569;
    --text-light-muted: #94a3b8;
    
    /* Dark Theme Text */
    --text-dark-title: #ffffff;
    --text-dark-body: #94a3b8;
    --text-dark-muted: #475569;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows */
    --shadow-light-card: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-light-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 242, 254, 0.05);
    --shadow-dark-window: 0 30px 60px -15px rgba(0, 0, 0, 0.75);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 2. BASE RESET & INITIALS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light-base);
    color: var(--text-light-body);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light-title);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.cyan-text {
    color: var(--color-cyan);
}

.cyan-logo-text {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* BUTTONS SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background-color: var(--color-cyan);
    color: #060a12;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

.btn-primary::before, .btn-outline::before,
.btn-primary::after, .btn-outline::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: var(--transition-smooth);
}

/* Before slides in first - swipe gradient */
.btn-primary::before, .btn-outline::before {
    background: linear-gradient(75deg, var(--color-blue) 0%, var(--color-cyan) 50%, var(--color-blue) 100%);
    z-index: 1;
    transform: translateX(100%);
}

/* After slides in next to restore color */
.btn-primary::after {
    background: var(--color-cyan);
    opacity: 0;
    z-index: 1;
    transform: translateX(-100%);
}

.btn-outline::after {
    background: var(--color-cyan);
    opacity: 0;
    z-index: 1;
    transform: translateX(-100%);
}

.btn-primary span, .btn-outline span {
    display: inline-block;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
    color: #000;
}

.btn-primary:hover::before, .btn-outline:hover::before {
    animation: 1s linear btnBeforeAnim;
}

.btn-primary:hover::after, .btn-outline:hover::after {
    opacity: 1;
    animation: 0.2s linear 1.2s btnAfterAnim;
}

.btn-primary:hover span, .btn-outline:hover span {
    animation: 1.3s linear btnSpanAnim;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-light-title);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    color: #060a12 !important;
    border-color: var(--color-cyan) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.btn-whatsapp {
    background-color: var(--color-green-whatsapp);
    color: #ffffff;
    font-weight: 600;
    gap: 10px;
    padding: 14px 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    position: relative;
    overflow: hidden;
    animation: wa-btn-pulse 2.2s infinite;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    animation: wa-icon-wiggle 3.5s infinite ease-in-out;
    transform-origin: center;
    display: inline-block;
}

/* Reflejo metálico deslizante continuo en hover */
.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
}

.btn-whatsapp:hover::after {
    animation: wa-shimmer 1.8s infinite linear;
}

@keyframes wa-btn-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes wa-icon-wiggle {
    0%, 90%, 100% { transform: rotate(0) scale(1); }
    92% { transform: rotate(-14deg) scale(1.15); }
    94% { transform: rotate(16deg) scale(1.15); }
    96% { transform: rotate(-12deg) scale(1.15); }
    98% { transform: rotate(12deg) scale(1.15); }
}

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

.btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    transition: var(--transition-bounce);
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* SECTION HEADERS (LIGHT) */
.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-header-center .section-title {
    font-size: 2.2rem;
    color: var(--text-light-title);
    margin-bottom: 14px;
    font-weight: 800;
}

.section-header-center .section-desc {
    color: var(--text-light-body);
    font-size: 1rem;
}

/* GLOW BACKGROUND SPHERES */
.glow-bg-container {
    position: absolute;
    width: 100%;
    height: 900px;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-cyan) 0%, rgba(0,0,0,0) 70%);
    top: -10%;
    right: -10%;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--color-blue) 0%, rgba(0,0,0,0) 70%);
    top: 30%;
    left: -15%;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (DARK NAVY ACCENT)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 10, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text-route {
    font-family: 'Route 159', 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.65rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    display: inline-block;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.logo-text-route:hover {
    color: var(--color-cyan);
}

.logo-img-footer {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.nav-text-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-text-main, .nav-text-hover {
    display: flex;
    align-items: center;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
}

.nav-text-main {
    color: var(--text-dark-body);
    transition: color 0.35s ease;
}

.nav-text-hover {
    color: var(--color-cyan);
}

.nav-item:hover .nav-text-wrapper {
    transform: translateY(-20px);
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* Mobile Dropdown Nav */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(6, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    overflow: hidden;
    transition: var(--transition-smooth);
    border-bottom: 0 solid var(--border-dark);
}

.mobile-nav.active {
    height: 340px;
    border-bottom: 1px solid var(--border-dark);
}

.mobile-nav-container {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    gap: 16px;
}

.mobile-nav-item {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark-body);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 8px;
}

.mobile-nav-item:hover {
    color: var(--color-cyan);
    padding-left: 6px;
}

.mobile-nav-cta {
    margin-top: 14px;
}

/* ==========================================================================
   4. HERO SECTION (DARK NAVY BACKGROUND)
   ========================================================================== */
.hero-section {
    background-color: var(--bg-dark-base);
    padding: 150px 0 100px 0;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--border-dark);
}

.hero-grid {
    display: grid;
    grid-template-columns: 43% 57%;
    gap: 30px;
    align-items: center;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 100px;
    margin-bottom: 20px;
}

.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    box-shadow: 0 0 8px var(--color-cyan);
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-cyan);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-dark-body);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
}

/* ==========================================================================
   5. DASHBOARD SIMULATOR WIDGET (INSIDE HERO)
   ========================================================================== */
.hero-dashboard-preview {
    position: relative;
    z-index: 2;
}

.window-frame {
    background: #090e1a;
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    box-shadow: var(--shadow-dark-window);
    overflow: hidden;
}

.window-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.window-buttons {
    display: flex;
    gap: 5px;
}

.window-buttons .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.window-title {
    font-size: 0.7rem;
    color: #64748b;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

.window-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    color: var(--text-dark-body);
}

.status-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-cyan);
    box-shadow: 0 0 6px var(--color-cyan);
}

/* 💻 SOFTWARE SIMULATOR CORE GRID */
.dashboard-sim {
    display: grid;
    grid-template-columns: 165px 1fr;
    height: 440px;
    background: var(--bg-software-body);
}

/* SIDEBAR STATE (Exact color of screenshot #47505f) */
.dash-sidebar {
    background-color: var(--bg-software-side);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px;
    background-color: rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.sim-sidebar-logo-text {
    font-family: 'Route 159', 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    display: inline-block;
    line-height: 1;
    text-transform: uppercase;
}

.hamburger-brand {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
}

.sidebar-scroller {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

/* Scrollbar para el sidebar */
.sidebar-scroller::-webkit-scrollbar {
    width: 4px;
}
.sidebar-scroller::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

.sidebar-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.sidebar-group-header .arrow-down {
    font-size: 0.5rem;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 4px;
}

.side-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    background: transparent;
    border: none;
    color: #d1d5db;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: var(--transition-smooth);
}

.side-btn .icon-sim {
    font-size: 0.8rem;
    display: inline-block;
    width: 14px;
    text-align: center;
}

.side-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.side-btn.active {
    color: #ffffff;
    background: var(--bg-software-side-active);
    font-weight: 600;
    border-left: 3px solid var(--color-cyan);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.side-btn.disabled-visual {
    opacity: 0.75;
    cursor: default;
}
.side-btn.disabled-visual:hover {
    background: transparent;
    color: #d1d5db;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 0;
}

/* SOFTWARE DASHBOARD CONTENT CONTAINER */
.dash-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* TOP BAR (White Navbar in screenshots) */
.dash-top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 46px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.dash-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
}

.dash-search-box .search-icon {
    font-size: 0.65rem;
    color: #94a3b8;
}

.dash-search-box input {
    border: none;
    background: transparent;
    font-size: 0.68rem;
    color: #1e293b;
    outline: none;
    width: 140px;
}

.dash-user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-user-section .util-icon {
    font-size: 0.72rem;
    color: #64748b;
    cursor: default;
}

.user-avatar-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #cbd5e1;
    color: #334155;
    font-weight: 700;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-dropdown-name {
    font-size: 0.68rem;
    font-weight: 600;
    color: #334155;
}

/* SCROLLER PARA PANELES DE CONTENIDO */
.tab-pane {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: none;
    animation: fadeInTab 0.3s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

/* BREADCRUMB BAR */
.dash-breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.breadcrumb-text {
    display: flex;
    flex-direction: column;
}

.breadcrumb-text .main-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.breadcrumb-text .path {
    font-size: 0.62rem;
    color: #94a3b8;
    margin-top: 1px;
}

.btn-acciones {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 4px 10px;
    font-size: 0.65rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: default;
}

/* ==========================================================================
   TAB 1: INICIO (DASHBOARD REAL)
   ========================================================================== */
.dashboard-color-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.color-widget {
    border-radius: 4px;
    padding: 14px 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.bg-widget-blue { background-color: var(--color-box-blue); }
.bg-widget-red { background-color: var(--color-box-red); }
.bg-widget-purple { background-color: var(--color-box-purple); }
.bg-widget-teal { background-color: var(--color-box-teal); }

.widget-icon {
    font-size: 1.6rem;
    opacity: 0.22;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.widget-numbers {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.widget-numbers .val-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.widget-numbers .desc-text {
    font-size: 0.58rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 1px;
}

/* SPLIT GRAPH & TABLES */
.dashboard-split-panels {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
}

.split-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 14px;
}

.split-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.split-card .card-header.border-none {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 8px;
}

.split-card h3 {
    font-size: 0.78rem;
    color: #475569;
    font-weight: 700;
}

.subtabs-bar {
    display: flex;
    gap: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
}

.subtab-item {
    cursor: pointer;
    padding-bottom: 4px;
}

.subtab-item.active {
    color: var(--color-box-teal);
    border-bottom: 2px solid var(--color-box-teal);
}

/* Split Tables */
.split-table-wrapper {
    overflow-x: auto;
}

.real-split-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.65rem;
    text-align: left;
}

.real-split-table th {
    color: #94a3b8;
    font-weight: 700;
    padding: 6px 8px;
    border-bottom: 1px solid #f1f5f9;
}

.real-split-table td {
    padding: 10px 8px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.real-split-table td.font-bold {
    font-weight: 700;
}
.real-split-table td.text-dark {
    color: #1e293b;
}

/* ==========================================================================
   TAB 2: PÓLIZAS (TABLA REAL DEL SOFTWARE)
   ========================================================================== */
.polizas-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    padding: 8px 12px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.polizas-subtabs {
    display: flex;
    gap: 14px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
}

.p-subtab {
    cursor: pointer;
    padding: 4px 0;
}

.p-subtab.active {
    color: var(--color-box-teal);
    border-bottom: 2px solid var(--color-box-teal);
}

.table-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.items-dropdown {
    font-size: 0.65rem;
    border: 1px solid #cbd5e1;
    padding: 3px 6px;
    border-radius: 3px;
    background-color: #ffffff;
    color: #475569;
}

.table-search-icon {
    font-size: 0.72rem;
    color: #64748b;
}

/* SOFTWARE GRID TABLE */
.software-table-wrapper {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    overflow-x: auto;
}

.real-software-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
    text-align: left;
}

.real-software-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 10px 12px;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.real-software-table td {
    padding: 10px 12px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}

.real-software-table tr:hover td {
    background-color: #f8fafc;
}

/* Real status badges from screenshot #3 */
.tbl-badge {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: capitalize;
}

.badge-red {
    background-color: #fee2e2;
    color: #ef4444;
}

.badge-grey {
    background-color: #f1f5f9;
    color: #64748b;
}

.badge-cyan {
    background-color: #ccfbf1;
    color: #0d9488;
}

.software-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    padding: 10px 12px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.footer-entries-txt {
    font-size: 0.65rem;
    color: #64748b;
}

.table-pagination {
    display: flex;
    gap: 4px;
}

.pag-btn {
    font-size: 0.65rem;
    border: 1px solid #cbd5e1;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
    background-color: #ffffff;
    color: #475569;
}

.pag-btn.active {
    background-color: var(--color-box-blue);
    color: #ffffff;
    border-color: var(--color-box-blue);
}

/* ==========================================================================
   TAB 3: REPORTES (FORMULARIO DATO DEL REPORTE - SCREEN 2)
   ========================================================================== */
.report-edit-container {
    display: flex;
    flex-direction: column;
}

.report-box-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.report-box-title {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.report-form-body {
    padding: 16px;
}

.rep-form-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    max-width: 500px;
}

.rep-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    text-align: right;
}

.rep-input, .rep-select {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.7rem;
    color: #334155;
    background-color: #f8fafc;
    width: 100%;
}

.rep-collapsible-section {
    border-top: 1px solid #e2e8f0;
    margin-top: 16px;
    padding-top: 14px;
}

.collapsible-header {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    cursor: pointer;
}

.collapsible-content {
    padding-left: 14px;
}

.collapsible-desc {
    font-size: 0.65rem;
    color: #0284c7;
    background-color: #f0f9ff;
    border-left: 3px solid #0284c7;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
    line-height: 1.4;
}

.badge-group-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.margin-top-12 { margin-top: 12px; }

.badge-row-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.badges-flex-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Orange badges from screenshot #2 */
.orange-badge {
    background-color: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
}

/* Selected blue badges from screenshot #2 */
.blue-badge {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
}

.rep-header-only {
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

/* CONFIG PANEL */
.config-settings-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px;
    border-radius: 4px;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.config-card {
    border: 1px solid #f1f5f9;
    background-color: #f8fafc;
    padding: 16px;
    border-radius: 6px;
}

.config-card h4 {
    font-size: 0.8rem;
    color: #1e293b;
    margin-bottom: 6px;
}

.config-card p {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.4;
}

/* ==========================================================================
   6. ¿POR QUÉ SOMOS LA MEJOR ELECCIÓN? (LIGHT MODE)
   ========================================================================== */
.why-choose-us-section {
    background-color: var(--bg-light-base);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: var(--shadow-light-card);
    transition: var(--transition-bounce);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-cyan);
    box-shadow: var(--shadow-light-hover);
}

.why-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-blue);
    transition: var(--transition-smooth);
}

.why-card:hover .why-icon-circle {
    background-color: var(--color-cyan);
    color: #060a12;
    border-color: var(--color-cyan);
}

.why-svg {
    width: 24px;
    height: 24px;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-light-title);
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-light-body);
    line-height: 1.5;
}

/* ==========================================================================
   7. IMPULSA TU AGENCIA (LIGHT MODE, 4 COLUMNS)
   ========================================================================== */
.features-section {
    background-color: var(--bg-light-surface);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.features-grid-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card-four {
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: var(--shadow-light-card);
    transition: var(--transition-bounce);
}

.feature-card-four:hover {
    transform: translateY(-5px);
    border-color: var(--color-cyan);
    box-shadow: var(--shadow-light-hover);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-blue);
    transition: var(--transition-smooth);
}

.feature-card-four:hover .feature-icon-box {
    background-color: var(--color-cyan);
    color: #060a12;
    border-color: var(--color-cyan);
}

.feat-svg {
    width: 20px;
    height: 20px;
}

.feature-card-four h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-light-title);
}

.feature-card-four p {
    font-size: 0.85rem;
    color: var(--text-light-body);
    line-height: 1.5;
}

/* ==========================================================================
   8. TRUST PARTNERS BAR (DARK NAVY BACKGROUND)
   ========================================================================== */
.trust-bar-section {
    background-color: var(--bg-dark-bar);
    padding: 72px 0;
    border-bottom: 1px solid var(--border-dark);
}

.trust-bar-content {
    text-align: center;
}

.trust-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-cyan);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.trust-desc {
    font-size: 0.95rem;
    color: var(--text-dark-body);
    margin-bottom: 32px;
}

.logos-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 10px 0;
}

.logos-marquee::before,
.logos-marquee::after {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    content: "";
    z-index: 2;
    pointer-events: none;
}

.logos-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark-bar) 0%, transparent 100%);
}

.logos-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark-bar) 0%, transparent 100%);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
}

.logos-track:hover {
    animation-play-state: paused;
}

.logo-item {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition-smooth);
    cursor: pointer;
    padding: 0 45px;
    flex-shrink: 0;
}

.logo-item:hover {
    color: #ffffff;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ==========================================================================
   9. PLANES PARA CADA NECESIDAD (LIGHT MODE)
   ========================================================================== */
.pricing-section {
    background-color: var(--bg-light-base);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.pricing-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #f1f5f9;
    border: 1px solid var(--border-light);
    padding: 5px 12px;
    border-radius: 100px;
    margin-top: 8px;
}

.toggle-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light-body);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.toggle-label.active {
    color: var(--text-light-title);
}

.discount-pill {
    font-size: 0.65rem;
    font-weight: 800;
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-blue);
    padding: 2px 6px;
    border-radius: 100px;
}

.pricing-toggle-btn {
    width: 40px;
    height: 22px;
    background: #cbd5e1;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.toggle-slider {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 3px;
    left: 3px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: var(--transition-bounce);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.pricing-toggle-btn.active {
    background-color: var(--color-cyan);
}

.pricing-toggle-btn.active .toggle-slider {
    left: 21px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 16px;
}

.pricing-card {
    background-color: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-light-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-bounce);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-light-hover);
}

/* Highlighted pricing card matches screen.png template exactly */
.pricing-card.featured-pricing {
    border: 2px solid var(--color-cyan);
    box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pricing-card.featured-pricing:hover {
    box-shadow: 0 24px 50px -15px rgba(0, 242, 254, 0.12), var(--shadow-light-hover);
}

.card-premium-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
    color: #060a12;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 3px 12px;
    border-radius: 100px;
}

/* Card Header */
.pricing-card-header h3 {
    font-size: 1.45rem;
    margin-bottom: 4px;
    color: var(--text-light-title);
}

.plan-subtitle {
    font-size: 0.8rem;
    color: var(--text-light-body);
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
}

.currency-symbol {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-light-body);
}

.price-val {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light-title);
    line-height: 1;
    transition: var(--transition-smooth);
}

.price-period {
    font-size: 0.8rem;
    color: var(--text-light-body);
    margin-left: 2px;
}

.billing-flexible-text {
    font-size: 0.72rem;
    color: var(--text-light-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 24px;
}

/* Card Features */
.pricing-card-features {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    margin-bottom: 32px;
}

.pricing-card-features ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light-body);
}

.check-icon {
    color: var(--color-blue);
    font-weight: 800;
    font-size: 0.85rem;
}

.yellow-check {
    color: var(--color-blue);
}

/* ==========================================================================
   10. ¿LISTO PARA EL SIGUIENTE NIVEL? (LIGHT MODE)
   ========================================================================== */
.contact-section {
    background-color: var(--bg-light-surface);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 44% 56%;
    gap: 40px;
    align-items: center;
}

.contact-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    color: var(--text-light-title);
    font-weight: 800;
}

.contact-info-panel p {
    color: var(--text-light-body);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.contact-direct-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-light-card);
}

.contact-link-item .icon {
    font-size: 1.25rem;
    color: var(--color-blue);
}

.contact-link-item .details {
    display: flex;
    flex-direction: column;
}

.contact-link-item .title {
    font-size: 0.65rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.contact-link-item .val {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-light-title);
}

.whatsapp-btn-wrapper {
    display: flex;
}

/* Glass Form Card matches screen.png template exactly */
.form-glass-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.05), var(--shadow-light-card);
    position: relative;
    overflow: hidden;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    position: relative;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light-body);
}

.form-group input, .form-group select, .form-group textarea {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-light-title);
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #00e0ec;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.6rem;
    color: #94a3b8;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group select option {
    background-color: #ffffff;
    color: var(--text-light-title);
}

/* Validations and error statuses */
.error-msg {
    font-size: 0.65rem;
    color: #ef4444;
    display: none;
    margin-top: 2px;
}

.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.01);
}

.form-group.invalid .error-msg {
    display: block;
}

.btn-submit-form {
    margin-top: 8px;
    background-color: #006070; /* Solid elegant teal from screen.png */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 96, 112, 0.15);
}

.btn-submit-form::before,
.btn-submit-form::after {
    display: none !important;
}

.btn-submit-form:hover {
    background-color: #00778c;
    box-shadow: 0 6px 15px rgba(0, 96, 112, 0.3);
    color: #ffffff;
}

.btn-submit-form:hover::before,
.btn-submit-form:hover::after {
    animation: none !important;
}

.btn-submit-form:hover span {
    animation: none !important;
}

.btn-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none !important;
    animation: rotateSpinner 0.8s linear infinite;
}

.btn.loading .btn-text { display: none; }
.btn.loading .btn-spinner { display: block !important; }

/* Success Form Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    max-width: 320px;
}

.success-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 16px auto;
}

.success-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--text-light-title);
}

.success-content p {
    font-size: 0.8rem;
    color: var(--text-light-body);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Error Form Overlay */
.form-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.form-error-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.error-content {
    text-align: center;
    max-width: 320px;
}

.error-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid #ef4444;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 16px auto;
}

.error-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--text-light-title);
}

.error-content p {
    font-size: 0.8rem;
    color: var(--text-light-body);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ==========================================================================
   11. FOOTER SYSTEM (DARK OBSIDIAN THEME)
   ========================================================================== */
.main-footer {
    background-color: #04080f;
    border-top: 1px solid var(--border-dark);
    padding: 72px 0 40px 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-col .logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-dark-body);
    margin-bottom: 20px;
    max-width: 250px;
}

.social-links-footer {
    display: flex;
    gap: 12px;
}

.social-icon {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-dark-body);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-dark);
    padding: 4px 10px;
    border-radius: 4px;
}

.social-icon:hover {
    color: var(--color-cyan);
    background: rgba(255,255,255,0.06);
}

.footer-links-col h4 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 0.8rem;
    color: var(--text-dark-body);
}

.footer-links-col a:hover {
    color: var(--color-cyan);
}

.security-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    margin-top: 8px;
}

.dot-green {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.status-txt {
    font-size: 0.65rem;
    font-weight: 800;
    color: #10b981;
}

.sec-text {
    font-size: 0.75rem;
    color: var(--text-dark-body);
    line-height: 1.5;
}

.sec-text.text-white {
    color: #ffffff;
}

.font-small {
    font-size: 0.65rem;
    color: #64748b;
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid var(--border-dark);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.7rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

.footer-bottom-links a {
    font-size: 0.7rem;
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: var(--color-cyan);
}

/* ==========================================================================
   12. ANIMATIONS & REVEALS
   ========================================================================== */
@keyframes rotateSpinner { to { transform: rotate(360deg); } }

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

/* ==========================================================================
   13. ADAPTIVE RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 40px auto 0 auto;
    }
    
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section-header-center .section-title {
        font-size: 1.85rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logos-row {
        justify-content: center;
    }
    
    /* Responsive Simulator */
    .dashboard-sim {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .dash-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        padding: 10px;
    }
    
    .sidebar-brand-wrapper {
        background-color: transparent;
        border-bottom: none;
        padding: 0 0 8px 0;
    }
    
    .sidebar-scroller {
        display: flex;
        overflow-x: auto;
        padding: 0;
        width: 100%;
        gap: 8px;
    }
    
    .sidebar-scroller::-webkit-scrollbar {
        height: 3px;
    }
    
    .sidebar-group {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    
    .sidebar-group-header {
        display: none;
    }
    
    .sidebar-menu {
        flex-direction: row;
        gap: 6px;
        padding: 0;
    }
    
    .side-btn {
        width: auto;
        white-space: nowrap;
        padding: 6px 12px;
    }
    
    .side-btn.active {
        border-left: none;
        border-bottom: 2px solid var(--color-cyan);
    }
    
    .sidebar-divider {
        display: none;
    }
    
    .dash-top-bar {
        display: none;
    }
    
    .dash-content {
        height: 340px;
    }
    
    .form-glass-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-four {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .dashboard-color-widgets {
        grid-template-columns: 1fr;
    }
    
    .dashboard-split-panels {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SEO BULLETS STYLING
   ========================================================================== */
.hero-seo-bullets {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.hero-seo-bullets li {
    font-size: 0.95rem;
    color: var(--text-dark-body);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-seo-bullets li strong {
    color: #ffffff;
    font-weight: 600;
}

.hero-seo-bullets .check-icon {
    color: var(--color-cyan);
    font-weight: 800;
    font-size: 1.05rem;
}

/* ==========================================================================
   INTERACTIVE AI VIRTUAL AGENT CHAT WIDGET
   ========================================================================== */
.ai-agent-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* TRIGGER BUTTON */
.ai-agent-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #091326, #060d1a);
    border: 1px solid rgba(0, 242, 254, 0.45);
    color: var(--color-cyan);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-agent-trigger:hover {
    transform: scale(1.08) rotate(15deg);
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.55);
    border-color: #00f2fe;
}

.ai-sparkle-icon {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 4px var(--color-cyan));
    transition: transform 0.3s ease;
}

/* PULSE RING */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    animation: ai-pulse 2.2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
}

.online-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #00e676;
    border: 2px solid #091326;
    border-radius: 50%;
    box-shadow: 0 0 6px #00e676;
}

@keyframes ai-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* CHAT WINDOW (GLASSMORPHISM) */
.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    border-radius: 20px;
    background: rgba(6, 12, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ai-chat-window.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

/* CHAT HEADER */
.ai-chat-header {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar-wrapper {
    position: relative;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.ai-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border: 1.5px solid rgba(6, 12, 26, 0.92);
    border-radius: 50%;
}

.ai-header-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ai-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.ai-title {
    font-size: 0.72rem;
    color: var(--color-cyan);
    font-weight: 500;
}

.ai-chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.ai-chat-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* CHAT BODY */
.ai-chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.ai-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.ai-msg-bubble {
    padding: 12px 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    border-radius: 16px;
}

.ai-received {
    align-self: flex-start;
}

.ai-received .ai-msg-bubble {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 4px;
}

.ai-sent {
    align-self: flex-end;
}

.ai-sent .ai-msg-bubble {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(0, 180, 219, 0.15));
    color: #ffffff;
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-bottom-right-radius: 4px;
}

/* QUICK OPTIONS PILLS */
.ai-quick-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.quick-reply-btn {
    align-self: flex-start;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-cyan);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    backdrop-filter: blur(4px);
}

.quick-reply-btn:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--color-cyan);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
}

/* TYPING INDICATOR */
.typing-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 18px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.8;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.6;
}

@keyframes typing-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
}

/* CHAT FOOTER */
.ai-chat-footer {
    padding: 14px 20px;
    background: rgba(6, 12, 26, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

#ai-chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

#ai-chat-input:focus {
    border-color: rgba(0, 242, 254, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

#ai-chat-send {
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#ai-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.45);
}

#ai-chat-send svg {
    width: 16px;
    height: 16px;
    transform: translate(-1px, 0.5px);
}

/* RESPONSIVE CHAT */
@media (max-width: 480px) {
    .ai-agent-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .ai-chat-window {
        width: calc(100vw - 40px);
        height: 420px;
        bottom: 72px;
    }
}

/* HIGHLIGHT ANIMATION FOR DEMO FORM */
.contact-form-wrapper.glow-effect-highlight {
    animation: form-glow-highlight 3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes form-glow-highlight {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 255, 255, 0.08);
        transform: scale(1);
    }
    30%, 70% {
        box-shadow: 0 0 35px rgba(0, 242, 254, 0.45);
        border-color: rgba(0, 242, 254, 0.5);
        transform: scale(1.02);
    }
}

/* AI CHAT SETTINGS GEAR BUTTON */
.ai-chat-settings-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05);
}

/* SLIDING SETTINGS PANEL */
.ai-settings-panel {
    position: absolute;
    top: 60px; /* Right under the header */
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(6, 12, 26, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
}

.ai-settings-panel.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.ai-settings-header {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ai-settings-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-settings-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.ai-settings-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    overflow-y: auto;
}

.ai-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.ai-select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s;
}

.ai-select option {
    background: #060c1a;
    color: #ffffff;
}

.ai-select:focus {
    border-color: rgba(0, 242, 254, 0.5);
}

.ai-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}

.ai-input:focus {
    border-color: rgba(0, 242, 254, 0.5);
}

.ai-settings-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.4;
}

.btn-save-settings {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
    border: none;
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-save-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 242, 254, 0.45);
}

/* ==========================================================================
   14. VISUAL CAPTCHA STYLING
   ========================================================================== */
.captcha-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-top: 4px;
}

.captcha-display {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 8px;
    height: 44px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

#captcha-canvas {
    border-radius: 4px;
    background-color: #cbd5e1;
    width: 150px;
    height: 38px;
}

.btn-refresh {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    margin-left: 4px;
    width: 28px;
    height: 28px;
}

.btn-refresh:hover {
    color: #0f172a;
    background-color: #e2e8f0;
}

.refresh-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.4s ease;
}

.btn-refresh:hover .refresh-icon {
    transform: rotate(180deg);
}

#captcha-input {
    flex-grow: 1;
    height: 44px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

@media (max-width: 480px) {
    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .captcha-display {
        justify-content: space-between;
        width: 100%;
    }
    #captcha-input {
        width: 100%;
    }
}

/* ==========================================================================
   15. INTERACTIVE FLOATING WHATSAPP CHATBOT
   ========================================================================== */
.wa-chatbot-widget {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Opposite side of Brook */
    z-index: 9999;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.wa-chatbot-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #128c7e, #075e54);
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #ffffff;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-chatbot-trigger:hover {
    transform: scale(1.08) rotate(-15deg);
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.55);
    border-color: #25d366;
}

.wa-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

/* PULSE RING */
.wa-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: wa-pulse 2.2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
}

.wa-online-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #00e676;
    border: 2px solid #075e54;
    border-radius: 50%;
    box-shadow: 0 0 6px #00e676;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* CHAT WINDOW (WhatsApp Theme with Glassmorphism overlay) */
.wa-chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 360px;
    height: 440px;
    border-radius: 20px;
    background: rgba(10, 20, 18, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wa-chat-window.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

/* CHAT HEADER */
.wa-chat-header {
    padding: 16px 20px;
    background: rgba(7, 94, 84, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar-wrapper {
    position: relative;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.wa-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border: 1.5px solid #075e54;
    border-radius: 50%;
}

.wa-header-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.wa-title {
    font-size: 0.72rem;
    color: #a3e635;
    font-weight: 500;
}

.wa-chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.wa-chat-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* CHAT BODY (with classic WhatsApp subtle background pattern) */
.wa-chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #0b141a;
    background-image: radial-gradient(rgba(37, 211, 102, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
    position: relative;
}

.wa-message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.wa-msg-bubble {
    padding: 12px 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    border-radius: 16px;
}

.wa-received {
    align-self: flex-start;
}

.wa-received .wa-msg-bubble {
    background: #202c33;
    color: #e9edef;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom-left-radius: 4px;
}

.wa-sent {
    align-self: flex-end;
}

.wa-sent .wa-msg-bubble {
    background: #005c4b;
    color: #e9edef;
    border: 1px solid rgba(37, 211, 102, 0.15);
    border-bottom-right-radius: 4px;
}

/* CHAT FOOTER */
.wa-chat-footer {
    padding: 14px 20px;
    background: #1f2c34;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

#wa-chat-input {
    flex-grow: 1;
    background: #2a3942;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

#wa-chat-input:focus {
    border-color: #00a884;
    background: #2a3942;
}

#wa-chat-send {
    background: #00a884;
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#wa-chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 168, 132, 0.45);
}

#wa-chat-send svg {
    width: 16px;
    height: 16px;
    transform: translate(-1px, 0.5px);
}

/* RESPONSIVE WHATSAPP */
@media (max-width: 480px) {
    .wa-chatbot-widget {
        bottom: 20px;
        left: 20px;
    }
    
    .wa-chat-window {
        width: calc(100vw - 40px);
        height: 400px;
        bottom: 72px;
    }
}

/* ==========================================================================
   16. BUTTON ANIMATIONS (ONENINE STYLE) KEYFRAMES
   ========================================================================== */
@keyframes btnBeforeAnim {
    0% {
        transform: translateX(-100%) scaleX(1);
    }
    50% {
        transform: translateX(-50%) scaleX(1.5);
    }
    60% {
        transform: translateX(0) scaleX(2);
    }
    90% {
        transform: translateX(100%) scaleX(1);
    }
}

@keyframes btnAfterAnim {
    10% {
        transform: translateX(-100%) scaleX(1);
    }
    65% {
        transform: translateX(-50%) scaleX(2);
    }
    80% {
        transform: translateX(0) scaleX(2);
    }
    100% {
        transform: translateX(100%) scaleX(2);
    }
}

@keyframes btnSpanAnim {
    20%,
    85% {
        transform: scale(1);
    }
    35%,
    60% {
        transform: scale(1.08);
    }
}

/* ==========================================================================
   17. DYNAMIC SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 105px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 15, 29, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--color-cyan);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.15);
}

.scroll-top-btn.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover {
    background: var(--color-cyan);
    color: #060a12;
    border-color: var(--color-cyan);
    box-shadow: 0 12px 40px rgba(0, 242, 254, 0.4);
}

.scroll-top-btn:hover .scroll-top-icon {
    transform: translateY(-3px);
}

/* Pulse animation around the button */
.scroll-top-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid var(--color-cyan);
    opacity: 0;
    pointer-events: none;
    animation: scroll-top-pulse-anim 2.5s infinite;
}

@keyframes scroll-top-pulse-anim {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        opacity: 0;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* ==========================================================================
   18. PREMIUM PAGE PRELOADER (LOADING SCREEN)
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #060a13; /* Elegant dark background matching the theme */
    z-index: 100000; /* Must be above everything including widgets */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.preloader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 80px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
    animation: preloader-logo-pulse 2s infinite ease-in-out;
}

.preloader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(0, 242, 254, 0.05);
    border-top: 3px solid var(--color-cyan);
    border-bottom: 3px solid var(--color-blue);
    animation: preloader-spin 1.5s infinite linear;
    z-index: 1;
}

.preloader-progress-bar {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
    border-radius: 100px;
    animation: preloader-progress-anim 2.5s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}

.preloader-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: preloader-text-pulse 1.5s infinite ease-in-out;
}

@keyframes preloader-logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
    }
}

@keyframes preloader-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes preloader-progress-anim {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes preloader-text-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

