/* ==========================================================================
   GIEXD.NET - LIGHT-MODE ENTERPRISE DESIGN SYSTEM (VANILLA CSS)
   ========================================================================== */

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

:root {
    /* Color Palette - Premium Light Mode (Zoho & Odoo style) */
    --bg-dark: #f4f5f8;       /* Clean light background */
    --bg-panel: #ffffff;      /* White container panel */
    --bg-card: #ffffff;       /* Pure white card */
    --bg-card-hover: #f8fafc; /* Subtle light gray on hover */
    --border-color: #eaecf0;  /* Muted clean borders */
    --border-color-hover: #d0d5dd;
    
    /* Giexd Brand Colors */
    --primary-rgb: 2, 161, 224; /* El código exacto del fondo del logo de Giexd: #02a1e0 */
    --primary: rgb(var(--primary-rgb));
    --primary-hover: #0183b8;
    --primary-glow: rgba(var(--primary-rgb), 0.12);
    
    /* Odoo & Other Module Accents */
    --accent-purple: #714b67; /* Odoo Signature Purple */
    --accent-indigo: #4f46e5; /* Workspace Indigo */
    --accent-emerald: #10b981; /* CRM Green */
    --accent-cyan: #06b6d4;    /* NetX Cyber Cyan */
    --accent-orange: #f97316;  /* ERP Operations Orange */
    --accent-amber: #eab308;   /* Academy Yellow */
    
    /* Text Colors */
    --text-primary: #1d2939;   /* High contrast dark text */
    --text-secondary: #475467; /* Slate gray info text */
    --text-muted: #667085;     /* Quiet placeholder text */
    
    /* Social Colors */
    --google-color: #ea4335;
    --linkedin-color: #0077b5;
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==========================================================================
   Resets & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #cfd4dc;
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Background grid effect (Modo Claro) */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: #f4f5f8;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
}

.cyber-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(var(--primary-rgb), 0.04) 0%, transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(113, 75, 103, 0.04) 0%, transparent 60%);
}

/* ==========================================================================
   Layout & Page Views Switching
   ========================================================================== */
.view-section {
    display: none;
    min-height: 100vh;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.view-section.active {
    display: flex;
    flex-direction: column;
}

.view-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Header / Navbar (Modo Claro)
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo {
    height: 36px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.brand:hover .brand-logo {
    transform: scale(1.05);
}

.brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #101828;
}

.brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-chevron {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
    margin-left: 2px;
    opacity: 0.7;
}

.nav-item:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.975rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 0 0.5rem;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   MEGA MENU DROPDOWN PANEL (Persona Style)
   ========================================================================== */
.mega-menu {
    position: absolute;
    top: 64px; /* exact header height */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 90vw;
    max-width: 1200px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    padding: 2.5rem 3rem;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 999;
    border-radius: 0 0 20px 20px;
}

@media (min-width: 1200px) {
    .mega-menu {
        width: 1200px;
    }
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-banner {
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.mega-menu-banner h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: #101828;
}

.mega-menu-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mega-column-title {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.mega-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mega-menu-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.mega-menu-item:hover {
    color: var(--primary);
}

.mega-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mega-menu-item:hover .mega-item-icon {
    background: var(--primary-glow);
    color: var(--primary);
    border-color: var(--primary);
}

.mega-item-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mega-item-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.2rem;
}

.mega-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* Persona style black primary pill button */
.btn-pill-dark {
    background: #090d16;
    color: #ffffff !important;
    border-radius: 50px;
    padding: 0.65rem 1.35rem;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(9, 13, 22, 0.15);
    border: 1px solid #090d16;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-pill-dark:hover {
    background: #1d2939;
    border-color: #1d2939;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(9, 13, 22, 0.25);
}

.btn-pill-dark svg {
    transition: transform var(--transition-fast);
}

.btn-pill-dark:hover svg {
    transform: translateX(3px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-color-hover);
}

.btn-secondary:hover {
    background: #f8fafc;
    color: var(--text-primary);
    border-color: #98a2b3;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--primary-glow);
}

/* ==========================================================================
   LANDING PAGE (Portal de Productos)
   ========================================================================== */
.hero-section {
    padding: 6rem 1.5rem 3rem;
    text-align: center;
    max-width: 840px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--primary-rgb), 0.07);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: #101828;
}

.hero-title span {
    background: linear-gradient(to right, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Search bar */
.search-container {
    max-width: 580px;
    margin: 0 auto 3.5rem;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    pointer-events: none;
    width: 18px;
    height: 18px;
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.1);
}

/* Category Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1.75rem; /* Separados un poco más como pidió el usuario */
    margin-top: 3.5rem; /* Separación del filtro de productos de la línea de arriba */
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.tab-btn {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.tab-btn:hover {
    border-color: var(--border-color-hover);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--text-primary);
    color: var(--bg-panel);
    border-color: var(--text-primary);
    font-weight: 600;
}

/* Category Blocks (Zoho inspired grouping) */
.category-block {
    margin-bottom: 4rem;
    width: 100%;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.category-header {
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color-hover);
}

.category-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.category-icon-indicator {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    display: inline-block;
}

.category-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
    letter-spacing: -0.02em;
}

.category-desc {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (Kortevix-style)
   ========================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scalePop {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* Initial hidden state for animated elements */
.reveal-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-block.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Individual card stagger animation */
.animate-card {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-card.card-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger delays for cards within a grid */
.animate-card:nth-child(1) { transition-delay: 0.05s; }
.animate-card:nth-child(2) { transition-delay: 0.12s; }
.animate-card:nth-child(3) { transition-delay: 0.19s; }
.animate-card:nth-child(4) { transition-delay: 0.26s; }
.animate-card:nth-child(5) { transition-delay: 0.33s; }

/* Category header slide-in animation */
.category-header {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.category-block.revealed .category-header {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   Products Grid
   ========================================== */
/* Products Grid */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 6rem;
    width: 100%;
}

/* Variadic column layouts */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.75rem;
}
.products-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.products-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.products-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.products-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) {
    .products-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
    .products-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .products-grid,
    .products-grid.cols-2,
    .products-grid.cols-3,
    .products-grid.cols-4,
    .products-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .products-grid,
    .products-grid.cols-2,
    .products-grid.cols-3,
    .products-grid.cols-4,
    .products-grid.cols-5 { grid-template-columns: 1fr; }
}


.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.018);
    min-height: 220px;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    opacity: 0.8;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
    background: var(--bg-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}

.product-icon svg {
    width: 26px;
    height: 26px;
}

.product-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #101828;
    line-height: 1.3;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

/* Smaller cards for denser grids */
.cols-4 .product-card,
.cols-5 .product-card {
    padding: 1.75rem 1.75rem 1.5rem;
    min-height: 200px;
}
.cols-4 .product-icon,
.cols-5 .product-icon {
    width: 44px;
    height: 44px;
}
.cols-5 .product-info h3 {
    font-size: 1.05rem;
}
.cols-5 .product-info p {
    font-size: 0.82rem;
}

.product-action {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: gap var(--transition-fast);
}

.product-action:hover {
    gap: 0.6rem;
    color: var(--primary-hover);
}

.product-action svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   SPLIT SCREEN AUTH LAYOUT (Light Mode Floating Box)
   ========================================================================== */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    width: 100%;
    padding: 1.5rem 1rem;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.04);
    max-width: 1040px;
    width: 100%;
    overflow: hidden;
    min-height: 520px;
}

@media (min-width: 992px) {
    .auth-wrapper {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

/* Left panel - Form */
.auth-panel-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem;
    width: 100%;
}

@media (min-width: 480px) {
    .auth-panel-form {
        padding: 2.5rem 3rem;
    }
}

.auth-header {
    margin-bottom: 1.25rem;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #101828;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.925rem;
}

.auth-subtitle a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-subtitle a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}

/* Form inputs & structure */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    background: #fdfdfd;
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.08);
}

.form-input-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    user-select: none;
    font-weight: 500;
}

.remember-me input {
    accent-color: var(--primary);
    cursor: pointer;
}

.forgot-password {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Social Buttons */
.social-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .social-buttons {
        grid-template-columns: 1fr 1fr;
    }
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color-hover);
    background: #ffffff;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-social:hover {
    border-color: #98a2b3;
    background: #f8fafc;
    transform: translateY(-1px);
}

.btn-social svg {
    width: 18px;
    height: 18px;
}

/* Right panel - Tech Infographic Panel (Zoho inspired) */
.auth-panel-info {
    display: none;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-left: 1px solid var(--border-color);
    padding: 2rem 2rem;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .auth-panel-info {
        display: flex;
    }
}

.info-content {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.info-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    color: #101828;
}

.info-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

/* Suite Operations board (Odoo App Grid simulator) */
.suite-monitor-widget {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.widget-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.widget-status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.apps-status-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.app-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.app-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-mini-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
}

.app-name-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.app-activity-value {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Stat display under infobox */
.info-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.info-stat-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.info-stat-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.25rem;
}

.info-stat-label {
    font-size: 0.725rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* Password strength indicator for registration */
.strength-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.strength-bar-wrapper {
    height: 4px;
    width: 100%;
    background: #eaecf0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: transparent;
    transition: width var(--transition-fast), background var(--transition-fast);
}

.strength-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    align-self: flex-end;
}

/* ==========================================================================
   TOAST NOTIFICATION OVERLAY (Light Mode)
   ========================================================================== */
.toast-overlay {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.toast-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.toast-icon.info {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

/* Footer styling (Estilo Kortevix Light) */
.main-footer {
    background: #f9fafb; /* Light background like bg-zinc-50 */
    color: var(--text-primary);
    padding: 5rem 2.5rem 3rem;
    width: 100%;
    border-top: 1px solid #eaecf0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #eaecf0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr); /* 4 columns of links */
    }
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    color: #1d2939; /* Darker header color */
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-col ul a {
    color: #475467; /* Muted slate gray */
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--primary); /* Hover to Giexd logo blue */
}

/* Footer Bottom Row */
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #667085;
    border-top: none;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-brand-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-meta img {
    border-radius: 6px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-brand-text .company-name {
    font-weight: 700;
    color: #1d2939;
    font-size: 0.9rem;
}

.footer-brand-text .company-copy {
    font-size: 0.75rem;
    color: #98a2b3;
}

/* Soc 2 certification badge */
.soc2-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475467;
}

.soc2-badge svg {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

/* Social square buttons (Kortevix style) */
.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e4e7ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    transition: all var(--transition-fast);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.social-icon-btn svg,
.social-icon-btn i {
    width: 14px;
    height: 14px;
}

.social-icon-btn:hover {
    background: #ffffff;
    border-color: #d0d5dd;
    color: #1d2939;
    transform: translateY(-1px);
}

/* Instagram specific hover color */
.social-icon-btn[aria-label="Instagram"]:hover {
    color: #e1306c;
}

/* LinkedIn specific hover color */
.social-icon-btn[aria-label="LinkedIn"]:hover {
    color: #0077b5;
}

/* X specific hover color */
.social-icon-btn[aria-label="X (Twitter)"]:hover {
    color: #000000;
}

/* Language selector (Toggle Pill ES/EN) inside light footer */
.footer-lang-selector-wrapper {
    margin-top: 0;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    background: #f2f4f7;
    border: 1px solid #eaecf0;
    border-radius: 30px;
    padding: 3px;
    cursor: pointer;
    user-select: none;
    position: relative;
    width: 90px;
    height: 36px;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.lang-toggle:hover {
    background: #e4e7ec;
    border-color: #d0d5dd;
}

.lang-toggle .lang-option {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #667085;
    z-index: 2;
    transition: color var(--transition-fast);
    line-height: 28px;
    letter-spacing: 0.05em;
}

.lang-toggle .lang-option.active {
    color: #1d2939;
}

/* Active slide capsule */
.lang-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 40px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 20px;
    transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-toggle.lang-en::before {
    transform: translateX(42px);
}

/* Sub-footer links row */
.sub-footer-links-row {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #eaecf0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (min-width: 640px) {
    .sub-footer-links-row {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #98a2b3;
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.75rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #475467;
}

/* ==========================================================================
   CREATIVE HERO SECTION STYLES (Zoho Desk inspired)
   ========================================================================== */

/* Hero page-load entrance animation */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-curve-header {
    background-color: #f7f6f1; /* Soft warm background */
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

/* Zoho Desk style top forest curves */
.hero-curve-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 100%);
    clip-path: ellipse(55% 45% at 50% 0%);
    opacity: 0.08;
    z-index: 1;
}

.hero-curve-header .badge {
    position: relative;
    z-index: 2;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
}

.hero-curve-header .badge-dot {
    background: var(--primary);
}

/* 3D Drop shadow Title */
.hero-main-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 3.75rem;
    font-weight: 800;
    color: #134e5e; /* Elegant dark teal green */
    text-shadow: 4px 4px 0px #fed7aa; /* Zoho soft warm 3D shadow */
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 4.85rem;
    }
}

.hero-main-title span {
    color: var(--primary); /* El azul de Giexd.net */
    text-shadow: 4px 4px 0px #d0e1ff; /* Sombra 3D en azul suave */
}

.hero-release-badge {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #b45309; /* Soft brown-orange */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-release-badge::before,
.hero-release-badge::after {
    content: '☁';
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Connected Flowchart diagram */
.hero-diagram-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 3rem auto 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .hero-diagram-container {
        grid-template-columns: 1fr 1.15fr 1fr;
        align-items: stretch;
        gap: 2rem;
    }
}

/* Connection SVGs */
.diagram-connections {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .diagram-connections {
        display: block;
    }
}

.pulse-node {
    animation: flow-pulse 2s infinite ease-in-out;
}

@keyframes flow-pulse {
    0% { r: 3px; opacity: 0.4; }
    50% { r: 6px; opacity: 1; }
    100% { r: 3px; opacity: 0.4; }
}

/* Diagram Cards */
.diag-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.diag-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: #98a2b3;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.diag-header {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* Interactive elements inside left diagram card */
.chat-bubbles-float {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.bubble-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.bubble-icon.telegram { color: #0088cc; }
.bubble-icon.slack { color: #4a154b; }
.bubble-icon.mail { color: #ea4335; }

.diag-laptop-display {
    background: #1e293b;
    border-radius: 6px;
    padding: 0.75rem;
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-bottom: 1.25rem;
    min-height: 54px;
}

.diag-font-actions {
    display: flex;
    gap: 0.35rem;
}

.font-action-btn {
    flex: 1;
    background: #f1f5f9;
    border: 1px solid var(--border-color-hover);
    padding: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.font-action-btn:hover, .font-action-btn.active {
    background: #134e5e;
    color: #ffffff;
    border-color: #134e5e;
}

/* Center Card - Requests & Accessibility controls */
.diag-req-item {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem;
    background: #fdf2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.diag-accessibility-ui {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.diag-acc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.diag-toggle-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.diag-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 20px;
}

.slider-round:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider-round {
    background-color: var(--primary);
}

input:checked + .slider-round:before {
    transform: translateX(18px);
}

.diag-size-selector {
    display: flex;
    gap: 0.25rem;
}

.size-select-btn {
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border: 1px solid var(--border-color-hover);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-select-btn:hover, .size-select-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Right Card - Robot Chatbot & floating agent */
.diag-chat-log {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.diag-chat-bubble {
    background: #f1f5f9;
    padding: 0.6rem 0.85rem;
    border-radius: 0 12px 12px 12px;
    font-size: 0.775rem;
    line-height: 1.4;
    color: var(--text-primary);
    position: relative;
    max-width: 85%;
}

.diag-chat-bubble.bot {
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    align-self: flex-start;
}

.diag-chat-bubble.user {
    background: var(--primary);
    color: #ffffff;
    border-radius: 12px 0 12px 12px;
    align-self: flex-end;
}

.diag-chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.chat-opt-badge {
    background: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.675rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-opt-badge:hover {
    background: var(--primary);
    color: #ffffff;
}

.diag-robot-bot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 1px dashed var(--border-color-hover);
    padding: 0.65rem;
    border-radius: var(--radius-md);
}

.robot-pulse-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.robot-pulse-avatar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.5;
    animation: pulse 1.8s infinite;
}

.robot-meta {
    display: flex;
    flex-direction: column;
}

.robot-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #101828;
}

.robot-status {
    font-size: 0.65rem;
    color: var(--accent-emerald);
    font-weight: bold;
}

/* Floating Chat Widget */
.floating-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--primary); /* Azul del logo Giexd.net */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
    cursor: pointer;
    z-index: 9999;
    transition: all var(--transition-normal);
}

.floating-chat-widget:hover {
    transform: scale(1.08) translateY(-2px);
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.5);
}

.floating-chat-widget svg,
.floating-chat-widget i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* ==========================================================================
   ZOHO-STYLE ALL PRODUCTS DIRECTORY STYLES
   ========================================================================== */

/* Directory Banner */
.directory-banner {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%); /* Soft Zoho One yellow gradient */
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 2.5rem 4rem;
    overflow: hidden;
    position: relative;
}

.directory-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .directory-banner-content {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.directory-banner-text {
    text-align: left;
}

.directory-badge {
    background: rgba(2, 161, 224, 0.08);
    border: 1px solid rgba(2, 161, 224, 0.2);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
}

.directory-banner-text h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 850;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.directory-banner-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 620px;
}

/* Yellow Box Mockup (Zoho One visual) */
.yellow-box-mockup {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yellow-box-cube {
    position: relative;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    transform: rotateX(-22deg) rotateY(45deg);
    animation: floatCube 4s ease-in-out infinite;
}

@keyframes floatCube {
    0%, 100% { transform: rotateX(-22deg) rotateY(45deg) translateY(0); }
    50% { transform: rotateX(-22deg) rotateY(45deg) translateY(-10px); }
}

.cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid #eab308;
    background: rgba(253, 224, 71, 0.95);
    box-shadow: inset 0 0 20px rgba(234, 179, 8, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.95rem;
    color: #854d0e;
}

.cube-face.front  { transform: rotateY(  0deg) translateZ(60px); }
.cube-face.back   { transform: rotateY(180deg) translateZ(60px); }
.cube-face.right  { transform: rotateY( 90deg) translateZ(60px); background: rgba(250, 204, 21, 0.95); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(60px); }
.cube-face.top    { transform: rotateX( 90deg) translateZ(60px); background: rgba(254, 240, 138, 0.95); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(60px); }

.floating-tile {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid var(--border-color);
    animation: floatTile 6s ease-in-out infinite;
}

.floating-tile svg {
    width: 20px;
    height: 20px;
}

.tile-1 { top: 20px; left: 20px; animation-delay: 0s; }
.tile-2 { top: 40px; right: 20px; animation-delay: 1.5s; }
.tile-3 { bottom: 30px; left: 40px; animation-delay: 3s; }
.tile-4 { bottom: 50px; right: 30px; animation-delay: 4.5s; }

@keyframes floatTile {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Orbital Ecosystem Map */
.orbital-ecosystem-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.orbital-map-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 380px;
    margin: 4rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-circle {
    position: absolute;
    border: 1px dashed rgba(2, 161, 224, 0.25);
    border-radius: 50%;
}

.orbit-circle.outer {
    width: 340px;
    height: 340px;
    animation: rotateOuter 50s linear infinite;
}

.orbit-circle.inner {
    width: 220px;
    height: 220px;
    animation: rotateInner 30s linear infinite;
}

@keyframes rotateOuter {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateInner {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.central-node {
    position: absolute;
    width: 110px;
    height: 110px;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    box-shadow: 0 10px 25px rgba(2, 161, 224, 0.25);
    z-index: 10;
}

.central-node span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-primary);
}

.orbital-node {
    position: absolute;
    width: 54px;
    height: 54px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 5;
}

.orbital-node svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    transition: transform var(--transition-fast);
}

.orbital-node .node-label {
    position: absolute;
    bottom: -1.45rem;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.8;
}

.orbital-node:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(2, 161, 224, 0.18);
}

.orbital-node:hover svg {
    transform: scale(1.1);
}

.orbital-node:hover .node-label {
    color: var(--primary);
    opacity: 1;
}

/* Node layout positioning */
.node-crm       { top: 20px; left: 50%; transform: translateX(-50%); }
.node-erp       { bottom: 20px; left: 50%; transform: translateX(-50%); }
.node-workspace { top: 50%; left: 20px; transform: translateY(-50%); }
.node-netx      { top: 50%; right: 20px; transform: translateY(-50%); }
.node-analytics { top: 90px; right: 90px; }
.node-flow      { bottom: 90px; left: 90px; }

/* Directory Layout (Sidebar + Grid content) */
.directory-layout {
    max-width: 1200px;
    margin: 4rem auto 8rem;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media (min-width: 992px) {
    .directory-layout {
        grid-template-columns: 260px 1fr;
    }
}

.directory-sidebar {
    position: relative;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem; /* Separación más ajustada para densidad profesional */
    position: sticky;
    top: 7rem;
    border-left: 2px solid var(--border-color); /* Línea de base en el lateral */
    padding-left: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 1.25rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    border: none;
    border-left: 3px solid transparent; /* Indicador izquierdo */
    margin-left: -2px; /* Superposición exacta */
    transition: all var(--transition-fast);
    border-radius: 0; /* Sin formas redondeadas estilo píldora amateur */
}
 
.sidebar-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
 
.sidebar-link:hover {
    color: var(--primary);
    background: rgba(2, 161, 224, 0.02);
    border-left-color: rgba(2, 161, 224, 0.3);
}
 
.sidebar-link:hover svg {
    opacity: 0.9;
    color: var(--primary);
}
 
.sidebar-link.active {
    color: var(--primary);
    font-weight: 600;
    background: rgba(2, 161, 224, 0.05); /* Tinte de fondo sutil */
    border-left: 3px solid var(--primary); /* Barra lateral azul del logo */
    box-shadow: none; /* Sin sombras exageradas */
}
 
.sidebar-link.active svg {
    opacity: 1;
    color: var(--primary);
}

/* Directory Content Area */
.directory-content {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.directory-category-block {
    scroll-margin-top: 7.5rem;
}

.category-block-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.category-block-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.category-block-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .directory-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dir-product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dir-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dir-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dir-icon svg {
    width: 20px;
    height: 20px;
}

.dir-card-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 750;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
}

.dir-product-card p {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
    flex-grow: 1;
}

.dir-product-card:hover .dir-action-link {
    transform: translateX(4px);
}
 
/* ==========================================================================
   VIEW 5: SUBSCRIPTIONS & PRICING PLANS VIEW (Zoho + Gemini inspired)
   ========================================================================== */
.plans-hero-header {
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.plans-main-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.plans-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.55;
    margin-bottom: 2.5rem;
}

/* Billing switch toggle */
.billing-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.billing-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.billing-label.active {
    color: #101828;
}

.billing-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.billing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e4e7ec;
    transition: .3s;
    border-radius: 24px;
}

.billing-slider-round:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.billing-switch input:checked + .billing-slider-round {
    background-color: var(--primary);
}

.billing-switch input:checked + .billing-slider-round:before {
    transform: translateX(20px);
}

.discount-pill {
    background: #ecfdf3;
    color: #027a48;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 50px;
    border: 1px solid #a3e635;
    margin-left: 2px;
}

/* Pricing Cards Container */
.pricing-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .pricing-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 12px 28px rgba(2, 161, 224, 0.06);
}

.pricing-card.popular:hover {
    box-shadow: 0 20px 40px rgba(2, 161, 224, 0.12);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(2, 161, 224, 0.2);
}

.pricing-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.price-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
    align-self: flex-start;
    margin-top: 2px;
}

.price-val {
    font-size: 3rem;
    font-weight: 800;
    color: #101828;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-period {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 2px;
}

.billing-details-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 2rem;
}

.pricing-cta-btn {
    width: 100%;
    padding: 0.75rem !important;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: left;
}

.check-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Pricing Info Banner */
.pricing-info-banner {
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    margin-bottom: 0;
    width: 100%;
}

.pricing-info-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-around;
}

@media (min-width: 768px) {
    .pricing-info-content {
        flex-direction: row;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.info-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}


/* ==========================================================================
   TAPVIA-STYLE INTERACTIVE CHAT WIDGET
   ========================================================================== */
.tapvia-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    font-family: var(--font-sans);
}

/* Chat Teaser Dialog */
.chat-teaser {
    position: fixed;
    right: 96px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(310px, calc(100vw - 116px));
    border: 1px solid rgba(223, 227, 241, 0.9);
    border-radius: 18px;
    background: #ffffff;
    padding: 12px 24px 12px 12px;
    color: #111827;
    text-align: left;
    box-shadow: 0 12px 36px rgba(17, 24, 39, 0.08);
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.chat-teaser:hover {
    border-color: rgba(2, 161, 224, 0.35);
    box-shadow: 0 16px 48px rgba(17, 24, 39, 0.12), 0 4px 12px rgba(2, 161, 224, 0.04);
    transform: translateY(-2px);
}

.chat-teaser::after {
    position: absolute;
    right: -6px;
    bottom: 18px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(223, 227, 241, 0.9);
    border-right: 1px solid rgba(223, 227, 241, 0.9);
    background: #ffffff;
    content: "";
    transform: rotate(45deg);
}

.teaser-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    transition: color 150ms ease;
}

.teaser-close:hover {
    color: #111827;
}

.teaser-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.teaser-kicker {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.chat-teaser strong {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
}

.teaser-copy span:last-child {
    color: var(--text-secondary);
    font-size: 11.5px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Launcher Button */
.chat-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    box-shadow: 0 12px 32px rgba(2, 161, 224, 0.3), 0 0 0 5px rgba(2, 161, 224, 0.05);
    cursor: pointer;
    transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.chat-launcher:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 40px rgba(2, 161, 224, 0.4), 0 0 0 6px rgba(2, 161, 224, 0.08);
}

.chat-launcher svg {
    grid-column: 1;
    grid-row: 1;
    transition: transform 250ms ease;
}

.chat-launcher:hover .launcher-bubble-icon {
    transform: scale(1.08) rotate(4deg);
}

/* Bot Initials Avatar */
.bot-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(2, 161, 224, 0.2);
    user-select: none;
    flex-shrink: 0;
}

.bot-avatar::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 9px;
    height: 9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #10b981;
    content: "";
}

.teaser-avatar {
    width: 40px;
    height: 40px;
}

/* Chat Main Panel */
.chat-panel {
    position: fixed;
    right: 24px;
    bottom: 92px;
    display: flex;
    flex-direction: column;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 120px));
    border: 1px solid rgba(94, 107, 138, 0.15);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(17, 24, 39, 0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.chat-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(223, 227, 241, 0.6);
}

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

.chat-identity strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #101828;
    display: block;
}

.chat-identity span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 1px;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-actions .language-toggle {
    display: flex;
    padding: 2px;
    border: 1px solid rgba(223, 227, 241, 0.6);
    border-radius: 8px;
    background: #f3f4f6;
}

.chat-header-actions .language-toggle button {
    border: 0;
    cursor: pointer;
    width: 28px;
    height: 20px;
    border-radius: 5px;
    color: #4b5563;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    transition: all 180ms ease;
    outline: none;
}

.chat-header-actions .language-toggle button.active {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 2px 4px rgba(2, 161, 224, 0.15);
}

#chatCloseBtn {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #4b5563;
    background: #f3f4f6;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

#chatCloseBtn:hover {
    color: #111827;
    background: #e5e7eb;
}

/* Chat Messages */
.chat-messages {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding: 1.25rem;
    background: linear-gradient(180deg, #f9fafc 0%, #f3f4f6 100%);
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(2, 161, 224, 0.15);
    border-radius: 10px;
}

.chat-messages .message {
    max-width: 85%;
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
    animation: tapviaMsgIn 280ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tapviaMsgIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-messages .message.assistant {
    align-self: flex-start;
    border: 1px solid rgba(223, 227, 241, 0.8);
    border-radius: 14px 14px 14px 4px;
    background: #ffffff;
    color: #1f2937;
    text-align: left;
}

.chat-messages .message.user {
    align-self: flex-end;
    border-radius: 14px 14px 4px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 161, 224, 0.15);
    text-align: left;
}

.chat-messages .message.typing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid rgba(223, 227, 241, 0.8);
    padding: 8px 12px;
}

.typing-dots {
    display: inline-flex;
    gap: 3px;
}

.typing-dots i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: tapviaTyping 900ms ease-in-out infinite;
}

.typing-dots i:nth-child(2) { animation-delay: 120ms; }
.typing-dots i:nth-child(3) { animation-delay: 240ms; }

@keyframes tapviaTyping {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-3px); opacity: 1; }
}

/* Suggestion Pills */
.suggestions-wrap {
    border-top: 1px solid rgba(223, 227, 241, 0.5);
    background: #ffffff;
    padding: 0.75rem 1.25rem;
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 80px;
    overflow-y: auto;
}

.suggestions button {
    border: 1px solid rgba(223, 227, 241, 0.8);
    border-radius: 10px;
    background: #ffffff;
    padding: 6px 10px;
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 180ms ease;
    outline: none;
}

.suggestions button:hover {
    border-color: rgba(2, 161, 224, 0.4);
    background: rgba(2, 161, 224, 0.03);
    color: var(--primary);
}

/* Input Area */
.chat-input {
    border-top: 1px solid rgba(223, 227, 241, 0.6);
    background: #ffffff;
    padding: 10px 1.25rem 12px;
}

.chat-input-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(223, 227, 241, 0.9);
    border-radius: 12px;
    background: #f9fafb;
    padding: 6px 10px;
    transition: border-color var(--transition-fast);
}

.chat-input-wrapper:focus-within {
    border-color: var(--primary);
    background: #ffffff;
}

.chat-input input {
    border: 0;
    background: transparent;
    font-size: 0.85rem;
    color: #111827;
    outline: none;
    width: 100%;
    padding: 4px 0;
}

.chat-input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.chat-input-footer .char-counter {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.chat-input-footer button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--primary);
    cursor: pointer;
    transition: background 150ms ease;
    outline: none;
}

.chat-input-footer button:hover {
    background: var(--primary-hover);
}


.dir-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(2, 161, 224, 0.08);
}

.dir-product-card:hover .dir-action-link {
    transform: translateX(4px);
}

/* ==========================================================================
   ZOHO-STYLE NAVIGATION & MENU OVERHAUL
   ========================================================================== */

/* Header Search & Language Buttons */
.header-action-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.header-action-btn:hover {
    background: rgba(2, 161, 224, 0.08);
    color: var(--primary);
}

.lang-selector-dropdown {
    position: relative;
    display: inline-block;
}

/* Language selector capsule button styling (light blue background & blue text) */
.lang-pill-btn {
    background: rgba(2, 161, 224, 0.06) !important;
    border: 1px solid rgba(2, 161, 224, 0.15) !important;
    border-radius: 50px !important;
    padding: 0.35rem 0.95rem !important;
    color: var(--primary) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.lang-pill-btn:hover {
    background: rgba(2, 161, 224, 0.12) !important;
    border-color: rgba(2, 161, 224, 0.25) !important;
}

.lang-globe-icon {
    color: var(--primary) !important;
    width: 15px;
    height: 15px;
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    min-width: 120px;
    z-index: 1000;
    overflow: hidden;
    animation: slideDownFade var(--transition-fast) ease;
}

/* Class toggled on click in JS */
.lang-dropdown-menu.show {
    display: flex;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-item {
    background: transparent;
    border: none;
    padding: 0.65rem 1rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    width: 100%;
    transition: all var(--transition-fast);
}

.lang-dropdown-item:hover {
    background: rgba(2, 161, 224, 0.05);
    color: var(--primary);
}

/* Simple Navigation Dropdowns (Clientes, Partners, Recursos) */
.simple-dropdown {
    position: absolute;
    top: 64px;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.nav-item:hover .simple-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    padding: 0.65rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    color: var(--primary);
    background: rgba(2, 161, 224, 0.03);
}

/* Zoho Full-Width Mega Menu */
.zoho-mega-menu {
    position: fixed !important;
    top: 64px;
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: calc(100vh - 64px);
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.08);
    transform: translateY(10px) translateX(0) !important;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.zoho-mega-menu.active-menu, .nav-item:hover .zoho-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0) !important;
}

/* Mega Menu Top bar tabs */
.mega-menu-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 52px;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.mega-menu-tabs {
    display: flex;
    gap: 1.5rem;
    height: 100%;
}

.mega-tab-btn {
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 0 0.75rem;
    height: 100%;
    transition: color var(--transition-fast);
}

.mega-tab-btn:hover {
    color: var(--primary);
}

.mega-tab-btn.active {
    color: var(--primary);
}

.mega-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
}

.mega-menu-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.explore-all-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: transform var(--transition-fast);
}

.explore-all-link:hover {
    transform: translateX(3px);
}

.close-mega-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.close-mega-btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--text-primary);
}

/* Mega Menu Content Grid */
.mega-menu-content-grid {
    display: grid;
    grid-template-columns: 210px 1fr;
    height: 540px;
    overflow: hidden;
}

.mega-menu-sidebar {
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 0 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mega-sidebar-link {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    border-right: 1px solid transparent;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
    margin-right: -1px;
}

.mega-sidebar-link:hover, .mega-sidebar-link.active {
    background: #ffffff !important;
    color: var(--primary) !important;
    font-weight: 600;
    border-left: 3px solid var(--primary) !important;
    border-right: 1px solid transparent !important;
}

.sidebar-arrow {
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.mega-sidebar-link:hover .sidebar-arrow, .mega-sidebar-link.active .sidebar-arrow {
    opacity: 1;
}

.sidebar-explore-btn {
    margin-top: auto;
    background: var(--primary);
    color: #ffffff !important;
    text-align: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background var(--transition-fast);
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-explore-btn:hover {
    background: var(--primary-hover);
}

/* Mega Menu pane cards */
.mega-menu-pane {
    padding: 2rem 2.5rem;
    overflow-y: auto;
    background: #ffffff;
}

/* Pane category title header */
.mega-pane-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.mega-pane-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.mega-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem;
}

.mega-app-card {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.85rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    align-items: flex-start;
    transition: background var(--transition-fast);
    cursor: pointer;
}

.mega-app-card:hover {
    background: #f4f6f8;
    box-shadow: none;
}

.mega-app-card.suite-card {
    background: #f0f7ff;
    border: 1px solid rgba(2, 161, 224, 0.15);
}

.mega-app-card.suite-card:hover {
    background: #e0effe;
}

.mega-app-icon {
    width: 36px;
    height: 36px;
    background: transparent !important;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.mega-app-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
}

.mega-app-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.mega-app-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #101828;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    line-height: 1.3;
}

.mega-app-badge {
    font-size: 0.6rem;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 1px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mega-app-badge.suite-tag {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.58rem;
    padding: 2px 6px;
    border-radius: 3px;
}

.mega-app-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Suites Panel layout */
.mega-suites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mega-suite-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mega-suite-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(2, 161, 224, 0.04);
    transform: translateY(-2px);
}

.mega-suite-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mega-suite-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #101828;
}

.mega-suite-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.mega-suite-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mega-suite-app-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
}

/* Giexd One tab design */
.mega-one-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 1rem;
}

.mega-one-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #101828;
    margin-bottom: 0.5rem;
}

.mega-one-info p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.mega-one-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.mega-one-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #101828;
    font-weight: 500;
}

.mega-one-promo-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    text-align: center;
}

.mega-one-promo-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.mega-one-promo-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

/* Marketplace Tab design */
.mega-market-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mega-market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.market-item-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition-fast);
}

.market-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(0,0,0,0.03);
    transform: translateY(-2px);
}

.market-item-logo {
    width: 44px;
    height: 44px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 0.75rem;
}

.market-item-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.25rem;
}

.market-item-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Global Search Overlay styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16, 24, 40, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal-container {
    width: 90vw;
    max-width: 680px;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.16);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform var(--transition-normal);
}

.search-overlay.active .search-modal-container {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    height: 64px;
}

.search-modal-icon {
    color: var(--text-muted);
    margin-right: 0.75rem;
    width: 22px;
    height: 22px;
}

#globalSearchInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: #101828;
}

#globalSearchInput::placeholder {
    color: var(--text-muted);
}

.search-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.search-modal-close:hover {
    background: #f1f5f9;
    color: #101828;
}

.search-results-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #fafbfc;
}

.search-no-results {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
    margin-bottom: 0.25rem;
}

.search-result-item:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    color: var(--primary);
}

.search-result-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #101828;
}

.search-result-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   NEW CORPORATE PAGES VIEW LAYOUTS
   ========================================================================== */

/* 1. FAQ VIEW */
.faq-hero {
    text-align: center;
    padding: 4.5rem 2rem 3rem;
    background: radial-gradient(circle at top, rgba(2, 161, 224, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.faq-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #101828;
    margin-bottom: 0.75rem;
}

.faq-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.faq-search-wrapper {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

#faqSearchInput {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    outline: none;
    font-size: 0.95rem;
    color: #101828;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all var(--transition-fast);
}

#faqSearchInput:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(2, 161, 224, 0.12);
}

.faq-content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.faq-category-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-cat-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #101828;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.faq-cat-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 8px 16px rgba(2,161,224,0.03);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.15rem 1.5rem;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    color: #101828;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none;
}

.faq-chevron {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
    color: var(--text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease;
}

.faq-item.active .faq-answer-content {
    max-height: 200px; /* enough space for normal paragraphs */
}

.faq-answer-content p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.faq-contact-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.faq-contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

.faq-contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem;
}

.faq-contact-actions {
    display: flex;
    gap: 1rem;
}

/* 2. CUSTOMERS VIEW */
.customers-hero {
    text-align: center;
    padding: 4.5rem 2rem 3rem;
    background: radial-gradient(circle at top, rgba(2, 161, 224, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.customers-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #101828;
    margin-bottom: 0.75rem;
}

.customers-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.customers-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: -1.5rem auto 3.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.02);
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-card:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.customers-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}

.section-heading-dark {
    font-size: 1.6rem;
    font-weight: 800;
    color: #101828;
    text-align: center;
    margin-bottom: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.01);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    font-size: 4rem;
    font-family: serif;
    color: rgba(2, 161, 224, 0.1);
    position: absolute;
    top: 0rem;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #101828;
}

.author-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.clients-logo-cloud {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.clients-logo-cloud h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
}

.logo-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.45;
    transition: opacity var(--transition-fast);
}

.logo-item:hover {
    opacity: 0.85;
}

/* 3. PARTNERS VIEW */
.partners-hero {
    text-align: center;
    padding: 4.5rem 2rem 3.5rem;
    background: radial-gradient(circle at top, rgba(2, 161, 224, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #101828;
    margin-bottom: 0.75rem;
}

.partners-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

.partners-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 4rem auto;
    gap: 2rem;
    padding: 0 1.5rem;
}

.partner-type-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.01);
}

.partner-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.partner-type-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

.partner-type-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

.partners-apply-container {
    max-width: 800px;
    margin: 0 auto 5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 36px rgba(0,0,0,0.02);
    overflow: hidden;
    padding: 3rem;
}

.partners-apply-content {
    text-align: center;
    margin-bottom: 2.5rem;
}

.partners-apply-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #101828;
    margin-bottom: 0.5rem;
}

.partners-apply-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.partners-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* 4. RESOURCES VIEW */
.resources-hero {
    text-align: center;
    padding: 4.5rem 2rem 3rem;
    background: radial-gradient(circle at top, rgba(2, 161, 224, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--border-color);
}

.resources-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: #101828;
    margin-bottom: 0.75rem;
}

.resources-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.resources-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 4.5rem auto;
    gap: 2.5rem;
    padding: 0 1.5rem;
}

.resource-block {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.01);
}

.resource-block-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.resource-block-header svg {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.resource-block-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

.resource-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.resource-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.resource-links-list a:hover {
    color: var(--primary);
}

.resource-links-list a svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.academy-duration-inline {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
    font-weight: 400;
}

.resources-blog-section {
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 0 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 4.5rem;
}

.blog-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.blog-post-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.01);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.blog-post-meta {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-post-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #101828;
    margin: 0;
    line-height: 1.35;
}

.blog-post-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 0.5rem;
}

.blog-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
}

.blog-read-more svg {
    width: 14px;
    height: 14px;
}

/* 4.1 RESOURCES HERO & BADGES */
.resources-hero-full {
    background: radial-gradient(circle at top, rgba(2, 161, 224, 0.12) 0%, #0b0f19 80%), #0b0f19;
    color: #ffffff;
    padding: 6rem 2rem 5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

.resources-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.resources-hero-badge {
    background: rgba(2, 161, 224, 0.1);
    color: var(--primary);
    border: 1px solid rgba(2, 161, 224, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.resources-hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.resources-hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.resources-hero-sub {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* 4.2 SEARCH BAR & STATS */
.resources-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 16px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.resources-search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(2, 161, 224, 0.15);
}

.resources-search-bar svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.resources-search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.9rem;
    flex: 1;
    min-width: 0;
    padding: 8px 0;
}

.resources-search-bar input::placeholder {
    color: #64748b;
}

.resources-search-bar button {
    margin-left: 8px;
    flex-shrink: 0;
    padding: 8px 16px;
}

.resources-stats-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem;
    flex-wrap: wrap;
}

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

.res-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.res-stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 4.3 3-COLUMN LAYOUT OVERRIDES */
.resources-grid-container.res-3col {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
}

@media (max-width: 991px) {
    .resources-grid-container.res-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-grid-container.res-3col {
        grid-template-columns: 1fr;
    }
}

/* 4.4 RESOURCE BLOCKS V2 & CARDS */
.resource-block-v2 {
    display: flex;
    flex-direction: column;
}

.res-block-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.res-block-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.resource-block-v2 h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.res-block-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex: 1;
}

.resource-block-v2 .res-block-cta {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.resource-block-v2 .res-block-cta:hover {
    gap: 10px;
}

.resource-block-v2 .res-block-cta svg {
    width: 14px;
    height: 14px;
}

.support-level-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 1.5rem;
    align-self: flex-start;
}

/* 4.5 BLOG HEADER */
.blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.blog-header-row h2 {
    margin: 0;
}

.blog-see-all {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-fast);
}

.blog-see-all:hover {
    gap: 8px;
}

.blog-see-all svg {
    width: 14px;
    height: 14px;
}

.blog-post-category-chip {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.blog-feed-grid.blog-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .blog-feed-grid.blog-grid-2 {
        gap: 1.75rem;
    }
}

@media (max-width: 680px) {
    .blog-feed-grid.blog-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* 4.6 WEBINARS SECTION */
.resources-webinars-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 1.5rem;
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

@media (max-width: 900px) {
    .webinars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .webinars-grid {
        grid-template-columns: 1fr;
    }
}

.webinar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.01);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.webinar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.webinar-card-thumb {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.webinar-card-thumb svg {
    transition: transform var(--transition-normal);
}

.webinar-card:hover .webinar-card-thumb svg {
    transform: scale(1.15);
}

.webinar-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.webinar-type-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(2, 161, 224, 0.08);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    align-self: flex-start;
}

.webinar-card-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #101828;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.webinar-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Mobile Responsive Navigation & Header
   ========================================================================== */

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: color var(--transition-fast);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

.mobile-only-actions {
    display: none;
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-only-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border-color);
        width: 100%;
    }
    
    .main-header {
        padding: 0 1.25rem;
        position: relative;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.25rem;
        height: auto;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.25rem 0;
    }
    
    .nav-item > .nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }
    
    .nav-chevron {
        transition: transform var(--transition-normal);
    }
    
    .nav-item.active-submenu .nav-chevron {
        transform: rotate(180deg);
    }
    
    .simple-dropdown {
        position: static;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-top: 0;
        border: none;
        box-shadow: none;
        transform: none;
        background: transparent;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }
    
    .nav-item.active-submenu .simple-dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 0.5rem 0 0.25rem 1.5rem;
    }
    
    .dropdown-link {
        padding: 0.5rem 0;
        font-size: 0.9rem;
        border-left: 2px solid var(--border-color);
        padding-left: 1rem;
        display: block;
    }
    
    .dropdown-link:hover {
        border-left-color: var(--primary);
    }
    
    .header-actions #loginBtn,
    .header-actions #registerBtn {
        display: none !important;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    /* Zoho Mega Menu Mobile Customization */
    .zoho-mega-menu {
        max-height: calc(100vh - 64px);
    }
    
    .mega-menu-top-bar {
        padding: 0 1rem;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .mega-menu-tabs {
        flex-wrap: wrap;
        gap: 0.35rem;
        justify-content: center;
    }
    
    .mega-tab-btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.78rem;
        height: auto;
    }
    
    .mega-menu-actions {
        justify-content: space-between;
        margin-top: 0.25rem;
    }
    
    .mega-menu-content-grid {
        grid-template-columns: 1fr;
        height: auto;
        max-height: calc(100vh - 145px);
        overflow-y: auto;
    }
    
    .mega-menu-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0.75rem;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        height: auto;
        min-height: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
    }
    
    .mega-sidebar-link {
        display: inline-flex;
        width: auto;
        padding: 0.5rem 1rem;
        border-left: none !important;
        border-bottom: 2px solid transparent !important;
        margin-right: 0;
    }
    
    .mega-sidebar-link.active {
        border-bottom: 2px solid var(--primary) !important;
        background: rgba(2, 161, 224, 0.05) !important;
    }
    
    .sidebar-arrow {
        display: none !important;
    }
    
    .sidebar-explore-btn {
        display: none !important;
    }
    
    .mega-menu-pane {
        padding: 1.25rem 1rem;
        height: auto;
        overflow-y: visible;
    }
    
    .mega-apps-grid {
        grid-template-columns: 1fr;
    }
}
