/* ==========================================================================
   ENGINEX DEVS PREMIUM DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-dark: #07050d;
    --bg-card: rgba(10, 7, 20, 0.45);
    --border-glow: rgba(168, 85, 247, 0.15);
    --border-glow-hover: rgba(0, 242, 255, 0.35);
    --color-primary: #a855f7;
    --color-primary-rgb: 168, 85, 247;
    --color-secondary: #00f2ff;
    --color-secondary-rgb: 0, 242, 255;
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-success: #00ff88;
    --font-header: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & scrollbars */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: transparent !important;
    color: var(--color-text-main);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    background: transparent !important;
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #090710;
}
::-webkit-scrollbar-thumb {
    background: #251d3a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ==========================================================================
   SHARED PREMIUM GLASSMORPHISM CLASSES
   ========================================================================== */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glow-hover);
    box-shadow: 0 12px 40px 0 rgba(var(--color-primary-rgb), 0.15);
    transform: translateY(-5px);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 5, 13, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 18px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(7, 5, 13, 0.95);
    border-bottom-color: rgba(var(--color-primary-rgb), 0.15);
}

.nav-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    perspective: 1000px;
}

.nav-logo {
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(var(--color-primary-rgb), 0.5));
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
    transform-style: preserve-3d;
}

.logo-area:hover .nav-logo {
    transform: perspective(600px) rotateX(5deg) rotateY(5deg) scale(1.03);
    filter: drop-shadow(0 4px 10px rgba(var(--color-primary-rgb), 0.6));
}

.logo-text {
    font-family: var(--font-header);
    font-weight: 900;
    font-size: 23px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    perspective: 1000px;
    /* Cyberpunk metallic shine effect */
    background: linear-gradient(90deg, #ffffff 0%, #e0d5ff 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 6s linear infinite;
    filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.15));
}

/* 3D Independent Letters - Subtle and Elegant */
.letter-3d, .letter-3d-special {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), text-shadow 0.25s ease, filter 0.25s ease;
    transform-style: preserve-3d;
    cursor: default;
}

.letter-3d {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

.letter-3d:hover {
    transform: translateY(-2px) scale(1.04);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    filter: brightness(1.2);
}

.letter-3d-special {
    color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, #c084fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.6)) drop-shadow(0 0 12px rgba(168, 85, 247, 0.3));
    animation: logoXPulse 2.5s ease-in-out infinite alternate;
    display: inline-block;
}

.letter-3d-special:hover {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.9)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.5)) brightness(1.3);
}

@keyframes shineText {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}

@keyframes logoXPulse {
    0% {
        filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.7)) drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.95)) drop-shadow(0 0 25px rgba(168, 85, 247, 0.6));
        transform: scale(1.08);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 38px;
    margin-left: 40px;
}

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

.nav-button-links {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 38px;
}

/* Elegant Underline for Text Links */
.nav-text-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    height: 38px;
    position: relative;
}

.nav-text-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--color-primary);
}

.nav-text-links a:hover {
    color: #fff;
}

.nav-text-links a:hover::after, .nav-text-links a.active::after {
    width: 100%;
}

.nav-text-links a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.3);
}

/* Premium Buttons Layout */
.nav-btn, .nav-doc-link {
    height: 38px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid transparent !important;
}

/* Shimmer Light Reflection Effect on Hover */
.nav-btn::after, .nav-doc-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.nav-btn:hover::after, .nav-doc-link:hover::after {
    animation: shimmerSweep 1.5s infinite;
}

/* Documentación Button - Cyber Glass Cyan */
.nav-doc-link {
    color: var(--color-secondary) !important;
    background: rgba(0, 242, 255, 0.04) !important;
    border: 1px solid rgba(0, 242, 255, 0.2) !important;
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.2) !important;
}

.nav-doc-link:hover {
    background: rgba(0, 242, 255, 0.12) !important;
    border-color: rgba(0, 242, 255, 0.45) !important;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Panel Bot - Glowing Purple Gradient */
#btn-trigger-admin-panel {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.25) !important;
}

#btn-trigger-admin-panel:hover {
    box-shadow: 0 6px 22px rgba(var(--color-primary-rgb), 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Discord - Discord Blurple Theme */
.nav-button-links a[href*="discord"] {
    background: rgba(88, 101, 242, 0.08) !important;
    border: 1px solid rgba(88, 101, 242, 0.25) !important;
    color: #5865f2 !important;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.05) !important;
}

.nav-button-links a[href*="discord"]:hover {
    background: #5865f2 !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45) !important;
    transform: translateY(-2px) !important;
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 30%, rgba(var(--color-primary-rgb), 0.08), transparent 45%);
}

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: var(--color-secondary);
    opacity: 0.05;
    filter: blur(120px);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding: 0 24px;
}

.hero-content .tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-header);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.4);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(var(--color-primary-rgb), 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

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

/* Floating Code Window Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.floating-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    animation: float 6s ease-in-out infinite;
}

.visual-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(10, 8, 20, 0.7);
}

.card-header-bar {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
    margin-left: auto;
    font-size: 11px;
    font-family: monospace;
    color: var(--color-text-muted);
}

.visual-card pre {
    padding: 24px;
    margin: 0;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 14px;
    line-height: 1.6;
}

/* Code highlight syntax colors */
.keyword { color: #f43f5e; }
.variable { color: #38bdf8; }
.string { color: #10b981; }
.function { color: #a855f7; }
.comment { color: #6b7280; }
.property { color: #f59e0b; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   QUICK STATS SECTION
   ========================================================================== */

.quick-stats {
    background: rgba(10, 8, 20, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    padding: 40px 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    padding: 0 24px;
}

.stat-box {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box:last-child {
    border: none;
}

.stat-num {
    font-family: var(--font-header);
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ==========================================================================
   GRID LAYOUTS & SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.sec-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    padding: 0 24px;
}

.grid-container.services-grid {
    max-width: 1450px;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1340px) {
    .grid-container.services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .grid-container.services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   SCRIPTS SECTIONS (TEBEX SHOWCASE)
   ========================================================================== */

.scripts-section {
    padding: 100px 0;
}

/* Category Switcher Tabs */
.category-tabs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 auto 50px auto;
    max-width: 800px;
    width: 100%;
    background: rgba(10, 8, 20, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.category-tabs-container:hover {
    border-color: rgba(0, 242, 255, 0.25);
    box-shadow: 0 10px 35px 0 rgba(168, 85, 247, 0.08);
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-header);
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.tab-btn i {
    font-size: 14px;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn:hover i {
    transform: scale(1.1);
    color: var(--color-secondary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.45);
}

.tab-btn.active i {
    color: var(--color-secondary);
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.6));
}

/* Animations for product cards */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.product-card.fade-in-anim {
    animation: cardFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 5;
}

.product-badge.premium {
    background: linear-gradient(135deg, var(--color-secondary), #0d9488);
}

.product-badge.new {
    background: var(--color-success);
    color: #07050d;
}

.product-image {
    height: 180px;
    background: radial-gradient(circle at center, rgba(var(--color-primary-rgb), 0.15), transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.product-image i {
    font-size: 64px;
    color: var(--color-primary);
    filter: drop-shadow(0 0 15px rgba(var(--color-primary-rgb), 0.4));
    transition: var(--transition-smooth);
}

.product-card:hover .product-image i {
    color: var(--color-secondary);
    filter: drop-shadow(0 0 20px rgba(var(--color-secondary-rgb), 0.6));
    transform: scale(1.1);
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.product-content p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price-row .price {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.btn-buy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-buy:hover {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   SERVICES SECTION (PAYPAL SYSTEM)
   ========================================================================== */

.services-section {
    position: relative;
    padding: 100px 0;
    background: radial-gradient(circle at 10% 50%, rgba(var(--color-secondary-rgb), 0.05), transparent 45%);
}

.services-glow {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    opacity: 0.03;
    filter: blur(130px);
    pointer-events: none;
}

.service-card {
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: rgba(var(--color-primary-rgb), 0.1);
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    transition: var(--transition-smooth);
}

.service-icon i {
    font-size: 28px;
    color: var(--color-primary);
}

.service-card:hover .service-icon {
    background: rgba(var(--color-secondary-rgb), 0.15);
    border-color: var(--color-secondary);
    transform: rotate(5deg) scale(1.05);
}

.service-card:hover .service-icon i {
    color: var(--color-secondary);
    filter: drop-shadow(0 0 10px rgba(var(--color-secondary-rgb), 0.6));
}

.service-card h3 {
    font-family: var(--font-header);
    font-size: 21px;
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-price {
    font-family: var(--font-header);
    font-size: 19px;
    font-weight: 700;
    color: var(--color-success);
    margin-bottom: 20px;
}

.btn-service-action {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.service-card:hover .btn-service-action {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

/* ==========================================================================
   ADVANTAGES SECTION
   ========================================================================== */

.advantages-section {
    padding: 100px 0;
    background: rgba(10, 8, 20, 0.3);
}

.advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 24px;
}

.advantage-item {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.advantage-item:hover {
    background: rgba(168, 85, 247, 0.02);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.05);
    transform: translateY(-6px);
}

.adv-icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 18px;
    filter: drop-shadow(0 0 8px rgba(var(--color-primary-rgb), 0.4));
    transition: filter 0.4s ease;
}

.adv-icon i {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease;
    display: inline-block;
}

.advantage-item:hover .adv-icon {
    filter: drop-shadow(0 0 16px rgba(var(--color-secondary-rgb), 0.85));
}

.advantage-item:hover .adv-icon i {
    color: var(--color-secondary);
    transform: scale(1.18) rotate(8deg);
}

.advantage-item h4 {
    font-family: var(--font-header);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: #040308;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding: 60px 0 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding: 0 24px;
}

.footer-brand .footer-logo {
    height: 48px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(var(--color-primary-rgb), 0.4));
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-header);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-links a, .footer-social a {
    display: block;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-links a:hover, .footer-social a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-social a i {
    width: 20px;
    margin-right: 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-card-wrapper {
        margin: 0 auto;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links a, .footer-social a {
        display: inline-block;
        margin: 0 12px;
    }
}

/* ==========================================================================
   BOT TELEMETRY INDICATOR & PULSE WIDGET
   ========================================================================== */

.bot-telemetry-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.04);
    border: 1px solid rgba(0, 255, 136, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 16px;
    font-family: monospace;
    transition: var(--transition-smooth);
}

.bot-telemetry-indicator:hover {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.07);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.bot-telemetry-indicator strong {
    color: #fff;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    animation: dotPulse 2s infinite;
}

.telemetry-separator {
    color: rgba(255, 255, 255, 0.15);
}

@keyframes dotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 5, 13, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 24px;
        border-bottom: 1px solid rgba(168, 85, 247, 0.2);
        gap: 20px;
        height: auto;
        margin-left: 0;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex !important;
        animation: slideDownMobileMenu 0.3s ease forwards;
    }
    
    @keyframes slideDownMobileMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .category-tabs-container {
        flex-direction: column;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        padding: 12px;
    }

    .tab-btn {
        width: 100%;
        border-radius: 12px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 24px;
    }
    
    .stat-box:last-child {
        border: none;
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 15px;
    }
}


/* ==========================================================================
   3D CARD TILT STRUCTURAL PROPERTIES
   ========================================================================== */

.tilt-element {
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* Optimization: disable expensive backdrop-filters during 3D tilt animation to prevent GPU rendering lag */
.tilt-element:hover {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 11, 28, 0.9) !important; /* fallback to opaque premium background */
}

/* Light mode support for the optimized hover state */
[data-theme='light'] .tilt-element:hover {
    background: rgba(255, 255, 255, 0.98) !important;
}

.tilt-element * {
    transform: translateZ(10px);
}

/* ==========================================================================
   MODAL DEMO SHOWROOM CSS
   ========================================================================== */

.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 3, 8, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    width: 90%;
    max-width: 720px;
    z-index: 2005;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.demo-modal.active .modal-wrapper {
    transform: scale(1) translateY(0);
}

.modal-content {
    position: relative;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(var(--color-primary-rgb), 0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.close-modal:hover {
    background: var(--color-primary);
    border-color: transparent;
    transform: rotate(90deg);
}

.modal-media-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #000;
}

.modal-media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-media-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(10, 8, 20, 0.95), transparent);
}

.modal-info {
    padding: 32px;
    background: #0a0814;
    overflow-y: auto;
    flex: 1;
}

.modal-info h3 {
    font-family: var(--font-header);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-info p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Product action controls */
.product-actions {
    display: flex;
    gap: 12px;
}

.btn-demo-trigger {
    background: rgba(var(--color-primary-rgb), 0.12);
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    color: var(--color-primary);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-demo-trigger:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

/* ==========================================================================
   CFX.RE ESCROW BADGE & DYNAMIC DELIVERY WORKFLOW STYLES
   ========================================================================== */

/* Escrow Badge on product cards */
.escrow-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    color: var(--color-success);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 255, 136, 0.05);
}

/* Modifying the top venta / premium badges so they don't overlap */
.product-card .product-badge {
    right: 20px;
    left: auto;
}

/* Open Source badge variant (blue/gold instead of green) */
.escrow-badge.open-source {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.05);
}

/* Flow Workflow Section styles */
.flow-section {
    padding: 80px 0;
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 90%;
}

.flow-container {
    padding: 48px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 24px;
}

.flow-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.flow-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.flow-header h3 {
    font-family: var(--font-header);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flow-header p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.flow-step {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.flow-step:hover {
    background: rgba(168, 85, 247, 0.03);
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.05);
    transform: translateY(-4px);
}

.step-num {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.4);
}

.step-icon {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.flow-step h5 {
    font-family: var(--font-header);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.flow-step p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.flow-step p a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.flow-step p a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.flow-connector {
    font-size: 24px;
    color: rgba(168, 85, 247, 0.25);
    animation: flowPulse 2s infinite ease-in-out;
}

@keyframes flowPulse {
    0% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(6px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }
}

/* Responsive Flow Chart */
@media (max-width: 992px) {
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .flow-connector {
        transform: rotate(90deg);
        animation: flowPulseVertical 2s infinite ease-in-out;
    }
}

/* ==========================================================================
   SIDEBAR SHOPPING CART DESIGN WIDGETS
   ========================================================================== */

/* Navbar Actions and Cart Toggle Badge */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 36px;
}

.cart-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.cart-toggle:hover {
    border-color: rgba(168, 85, 247, 0.4);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ec4899, var(--color-primary));
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-count.bump {
    transform: scale(1.3);
}

/* Sidebar Outer Structural Overlay */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cart-sidebar.active {
    visibility: visible;
    opacity: 1;
}

.cart-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 3, 8, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cart-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3005;
}

.cart-sidebar.active .cart-wrapper {
    transform: translateX(0);
}

.cart-panel {
    height: 100%;
    border-radius: 0;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(168, 85, 247, 0.15);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.cart-header {
    padding: 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 5, 13, 0.4);
}

.cart-header h3 {
    font-family: var(--font-header);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-header h3 i {
    color: var(--color-primary);
}

.close-cart {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.close-cart:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Cart Body List and Items */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(10, 8, 20, 0.95);
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    gap: 16px;
    opacity: 0.6;
}

.empty-cart i {
    font-size: 48px;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.empty-cart p {
    font-size: 14px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    animation: slideInItem 0.3s ease forwards;
    transition: var(--transition-smooth);
}

.cart-item:hover {
    background: rgba(168, 85, 247, 0.02);
    border-color: rgba(168, 85, 247, 0.15);
}

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

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-family: var(--font-header);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.cart-item-price {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: rgba(239, 68, 68, 0.6);
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.cart-item-remove:hover {
    background: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    transform: scale(1.05);
}

/* Cart Footer Actions */
.cart-footer {
    padding: 32px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(7, 5, 13, 0.8);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-header);
}

.cart-total span {
    font-size: 16px;
    color: var(--color-text-muted);
}

.cart-total strong {
    font-size: 24px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.cart-disclaimer {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.cart-disclaimer i {
    color: var(--color-primary);
}

.btn-checkout {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border: none;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout:hover:not(:disabled) {
    box-shadow: 0 5px 25px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.btn-checkout:disabled {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@keyframes flowPulseVertical {
    0% {
        transform: translateY(0) rotate(90deg) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(6px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(90deg) scale(1);
        opacity: 0.5;
    }
}

/* ==========================================================================
   NEW PREMIUM ADDITIONS (SOBRE NOSOTROS, TESTIMONIOS, FAQ, CONTACTO)
   ========================================================================== */

/* 1. SOBRE NOSOTROS */
.about-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at 20% 70%, rgba(var(--color-primary-rgb), 0.05), transparent 45%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0 24px;
}

.about-text h3 {
    font-family: var(--font-header);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.about-text h3 span {
    color: var(--color-primary);
}

.about-text p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feat-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.about-feat-card i {
    font-size: 28px;
    color: var(--color-secondary);
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(var(--color-secondary-rgb), 0.4);
}

.about-feat-card h5 {
    font-family: var(--font-header);
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.about-feat-card p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 2. TESTIMONIOS */
.testimonials-section {
    padding: 100px 0;
    background: rgba(10, 8, 20, 0.2);
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 22px);
    max-width: calc(33.333% - 22px);
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.test-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.test-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
}

.test-user-info h5 {
    font-family: var(--font-header);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.test-user-info span {
    font-size: 12px;
    color: var(--color-text-muted);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.testimonials-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.testimonials-btn:hover {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
    transform: scale(1.05);
}

/* 3. FAQ ACCORDION */
.faq-section {
    padding: 100px 0;
    background: radial-gradient(circle at 80% 80%, rgba(var(--color-secondary-rgb), 0.05), transparent 45%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(var(--color-primary-rgb), 0.2);
    background: rgba(255, 255, 255, 0.02);
}

.faq-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h4 {
    font-family: var(--font-header);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.faq-icon {
    font-size: 16px;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.faq-item.active {
    background: rgba(15, 11, 28, 0.5);
    border-color: rgba(var(--color-primary-rgb), 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.faq-item.active .faq-content {
    max-height: 200px;
    opacity: 1;
    padding-top: 8px;
}

/* 4. CONTACT FORM */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-card {
    padding: 48px;
    background: rgba(10, 8, 20, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.02);
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.15);
}

textarea.form-input {
    resize: none;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-primary), #7c3aed);
    border: none;
    color: #fff;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.5);
    transform: translateY(-2px);
}

.form-status {
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 8px;
}

.form-status.success {
    display: inline-flex;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--color-success);
}

.form-status.error {
    display: inline-flex;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 24px;
    }
}

/* ==========================================
   RESMON SIMULATOR PREMIUM STYLES
   ========================================== */
.resmon-section {
    position: relative;
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.resmon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.resmon-container {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 32px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.resmon-selector-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.resmon-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resmon-opt-btn {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.resmon-opt-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.resmon-opt-btn.active {
    background: rgba(168, 85, 247, 0.06);
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(var(--color-primary-rgb), 0.15);
}

.resmon-opt-btn .btn-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resmon-opt-btn .script-title {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.resmon-opt-btn .script-meta {
    font-size: 12px;
    color: var(--color-text-muted);
}

.resmon-opt-btn i {
    font-size: 20px;
}

.error-color {
    color: #ef4444 !important;
}

.success-color {
    color: var(--color-success) !important;
}

.resmon-info-box {
    margin-top: 8px;
}

.info-alert {
    display: none;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.info-alert.active {
    display: flex;
}

.info-alert.info-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.info-alert.info-error i {
    color: #ef4444;
    font-size: 16px;
    margin-top: 2px;
}

.info-alert.info-success {
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.15);
    color: #a7f3d0;
}

.info-alert.info-success i {
    color: var(--color-success);
    font-size: 16px;
    margin-top: 2px;
}

/* ── Contador de caracteres (límites de plan) ── */
.char-counter {
    font-size: 10px;
    font-weight: 600;
    text-align: right;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s ease;
    user-select: none;
    pointer-events: none;
    letter-spacing: 0.3px;
    line-height: 1;
}

.toast-container {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    pointer-events: none !important;
    max-width: 380px !important;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    min-height: 56px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(8, 10, 20, 0.95);
    color: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateX(20px);
    transition: transform 0.22s ease, opacity 0.22s ease;
    overflow: hidden;
}

.toast.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.toast .toast-icon {
    min-width: 36px;
    min-height: 36px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 16px;
}

.toast .toast-content {
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #f8fafc;
    word-break: break-word;
}

.toast .toast-close {
    background: transparent;
    border: none;
    color: #d1d5db;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.toast .toast-close:hover {
    opacity: 1;
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.4) !important;
    background: rgba(8, 10, 20, 0.98) !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15), 0 22px 60px rgba(0, 0, 0, 0.35) !important;
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: rgba(8, 10, 20, 0.98) !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.15), 0 22px 60px rgba(0, 0, 0, 0.35) !important;
}

.toast.warn {
    border-color: rgba(245, 158, 11, 0.4) !important;
    background: rgba(8, 10, 20, 0.98) !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15), 0 22px 60px rgba(0, 0, 0, 0.35) !important;
}

.toast.info {
    border-color: rgba(59, 130, 246, 0.4) !important;
    background: rgba(8, 10, 20, 0.98) !important;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15), 0 22px 60px rgba(0, 0, 0, 0.35) !important;
}

/* Columna de Visualización */
.resmon-visualizer-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.resmon-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.resmon-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
}

.resmon-stat .stat-lbl {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.resmon-stat h4 {
    font-family: var(--font-header);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    transition: var(--transition-smooth);
}

.resmon-chart-container {
    position: relative;
    width: 100%;
    height: 220px;
    background: #040208;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    overflow: hidden;
}

.resmon-chart-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.chart-overlay-text {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

@media (max-width: 968px) {
    .resmon-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ABOUT US & RECRUITMENT SECTION
   ========================================================================== */

.about-section {
    position: relative;
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.about-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.about-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding: 0 20px;
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1150px;
    width: 100%;
}

.team-card {
    text-align: center;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-color: rgba(168, 85, 247, 0.15);
    background: rgba(15, 11, 28, 0.6);
}

.team-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

.online-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    background-color: var(--color-success);
    border: 3px solid #0f0b1c;
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-success);
}

.team-card h3 {
    font-family: var(--font-header);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-role {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.team-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-social a {
    color: var(--color-text-muted);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.team-social a:hover {
    color: var(--color-primary);
    filter: drop-shadow(0 0 5px var(--color-primary));
}

/* Recruitment Card Styles */
.recruitment-card {
    padding: 32px;
    border-color: rgba(168, 85, 247, 0.15);
    background: rgba(15, 11, 28, 0.6);
}

.recruitment-header {
    text-align: center;
    margin-bottom: 24px;
}

.recruitment-header i {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 12px;
    filter: drop-shadow(0 0 5px var(--color-primary));
}

.recruitment-header h3 {
    font-family: var(--font-header);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.recruitment-header p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

#recruitment-form .form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

#recruitment-form label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

#recruitment-form input,
#recruitment-form select,
#recruitment-form textarea {
    background: rgba(4, 2, 8, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

#recruitment-form input:focus,
#recruitment-form select:focus,
#recruitment-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
    background: rgba(4, 2, 8, 0.8);
}

#recruitment-form select option {
    background: #0f0b1c;
    color: #fff;
}

.btn-recruitment-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7e22ce 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
    transition: var(--transition-smooth);
}

.btn-recruitment-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
    filter: brightness(1.1);
}

/* Responsiveness */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    #recruitment-form .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   HELP BUBBLE & PREMIUM TOOLTIP STYLES
   ========================================================================== */
.help-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #a855f7;
    font-size: 10px;
    font-weight: bold;
    cursor: help;
    margin-left: 8px;
    transition: all 0.25s ease;
    vertical-align: middle;
}

.help-bubble:hover {
    background: #a855f7;
    color: #fff;
    box-shadow: 0 0 8px #a855f7;
}

.help-bubble::after {
    content: attr(data-help);
    position: absolute;
    bottom: 135%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(10, 7, 20, 0.96);
    border: 1px solid rgba(168, 85, 247, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f3f4f6;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.45;
    white-space: pre-line;
    width: 240px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    text-transform: none;
    font-family: var(--font-body);
}

.help-bubble:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ==========================================================================
   HOMEPAGE TABS - SECTION VISIBILITIES
   ========================================================================== */

.tab-section-hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

.tab-section-visible {
    display: block !important;
    animation: tabContentFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   INTERACTIVE DOCUMENTATION PANEL STYLES (SPA OVERLAY)
   ========================================================================== */
.docs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 45px 24px 80px 24px;
    min-height: 100vh;
}
.docs-grid {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.docs-sidebar {
    position: sticky;
    top: 100px;
    z-index: 100;
}
.sidebar-menu {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-title {
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}
.gen-cat-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    font-family: var(--font-header);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 4px;
}
.gen-cat-btn div {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gen-cat-btn i {
    font-size: 16px;
    transition: var(--transition-smooth);
}
.gen-cat-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
}
.gen-cat-btn.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(0, 242, 255, 0.05));
    border: 1px solid var(--border-glow);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.1);
}
.gen-cat-btn.active i {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}
.gen-cat-badge {
    font-size: 9px;
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 20px;
    color: var(--color-text-muted);
    font-weight: 600;
}
.gen-cat-btn.active .gen-cat-badge {
    background: rgba(168, 85, 247, 0.2);
    color: var(--color-primary);
}
.sidebar-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 2px;
}
.sidebar-btn i {
    font-size: 14px;
    transition: var(--transition-smooth);
}
.sidebar-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.02);
}
.sidebar-btn.active {
    color: var(--color-secondary);
    background: rgba(0, 242, 255, 0.03);
    border-color: rgba(0, 242, 255, 0.15);
}
.sidebar-btn.active i {
    color: var(--color-secondary);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.6);
}
.docs-content {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    min-height: 550px;
    position: relative;
}
.docs-section {
    display: none;
    animation: fadeInTab 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.docs-section.active {
    display: block;
}
.docs-section h2 {
    font-family: var(--font-header);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.docs-section h2 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.docs-section h3 {
    font-family: var(--font-header);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 32px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.docs-section p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
.docs-section strong {
    color: #fff;
}
.docs-alert {
    background: rgba(168, 85, 247, 0.05);
    border-left: 4px solid var(--color-primary);
    border-radius: 4px 12px 12px 4px;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.docs-alert.info {
    background: rgba(0, 242, 255, 0.05);
    border-left-color: var(--color-secondary);
}
.docs-alert.success {
    background: rgba(0, 255, 136, 0.05);
    border-left-color: var(--color-success);
}
.docs-alert strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}
.docs-list {
    list-style: none;
    margin: 16px 0 24px 8px;
}
.docs-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.docs-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}
.commands-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin: 24px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.commands-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.commands-table th {
    background: rgba(255,255,255,0.02);
    padding: 16px 20px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-header);
}
.commands-table td {
    padding: 16px 20px;
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    line-height: 1.5;
}
.commands-table tr:last-child td {
    border: none;
}
.commands-table tr:hover td {
    background: rgba(255,255,255,0.01);
    color: #fff;
}
.code-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--color-secondary);
    font-family: monospace;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 13px;
}
.code-block-container {
    position: relative;
    background: #090710;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    margin: 24px 0;
    overflow: hidden;
}
.code-block-header {
    background: rgba(255,255,255,0.02);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.code-block-title {
    font-size: 11px;
    font-family: monospace;
    color: var(--color-text-muted);
}
.btn-copy {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-copy:hover {
    color: #fff;
    background: var(--color-primary);
    border-color: transparent;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}
.code-block-container pre {
    padding: 20px 24px;
    margin: 0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    font-family: monospace;
    color: #e5e7eb;
}
@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }
    .docs-sidebar {
        position: relative;
        top: 0;
    }
    .docs-container {
        padding-top: 40px;
    }
    .docs-content {
        padding: 24px;
    }
    .docs-section h2 {
        font-size: 26px;
    }
}

/* ==========================================================================
   DISCORD PROFILE BUTTON & 3D TILT EFFECT
   ========================================================================== */
.cart-toggle, .profile-toggle {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
    transform-style: preserve-3d !important;
    perspective: 500px !important;
}

.cart-toggle:hover, .profile-toggle:hover {
    transform: perspective(500px) rotateX(6deg) rotateY(6deg) scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25) !important;
    border-color: rgba(168, 85, 247, 0.4) !important;
}

.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.profile-toggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 230px;
    background: rgba(10, 8, 20, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1001;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.profile-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-dropdown-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.profile-dropdown-user-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.profile-dropdown-username {
    font-family: var(--font-header);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.profile-dropdown-role {
    font-size: 11px;
    color: var(--color-text-muted);
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.profile-dropdown-item {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    width: 100%;
}

.profile-dropdown-item * {
    pointer-events: none;
}

.profile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.05);
}

.profile-dropdown-item.disconnect {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
}

.profile-dropdown-item.disconnect:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

/* ==========================================================================
   GLOBAL ANNOUNCEMENT TICKER (PREMIUM SCROLLING BANNER)
   ========================================================================== */
.announcement-ticker {
    width: 100%;
    background: rgba(7, 5, 13, 0.95);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: absolute;
    bottom: -40px;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

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

.ticker-content {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
    white-space: nowrap;
    color: #fff;
    font-family: var(--font-header);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticker-content span {
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8), 0 0 20px rgba(168, 85, 247, 0.4);
}

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

/* ==========================================================================
   PREMIUM CUSTOM SELECT STYLES FOR FORMS
   ========================================================================== */
select.form-input.premium-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 16px !important;
    padding-right: 45px !important;
    cursor: pointer !important;
}

select.form-input.premium-select:hover {
    border-color: rgba(168, 85, 247, 0.4) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}

select.form-input.premium-select:focus {
    border-color: var(--color-primary) !important;
    background-color: rgba(var(--color-primary-rgb), 0.02) !important;
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.15) !important;
}

select.form-input.premium-select option {
    background-color: #0d091a !important;
    color: #fff !important;
    font-size: 13px !important;
    padding: 12px !important;
}






/* Animación del cursor de escritura tipo VS Code */
.typewriter-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background-color: #a855f7;
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
    box-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
}

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

/* Helper class to force hide elements (overriding !important display rules) */
.hidden {
    display: none !important;
}

/* Premium Page Transitions Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #130f26 0%, #07050d 100%);
    z-index: 999999;
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   MULTI-LANGUAGE (i18n) SELECTOR STYLES
   ========================================================================== */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    padding: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
    transform-style: preserve-3d !important;
    perspective: 500px !important;
}

.lang-toggle:hover {
    transform: perspective(500px) rotateX(6deg) rotateY(6deg) scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25) !important;
    border-color: rgba(168, 85, 247, 0.4) !important;
}

.lang-flag-icon {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 170px;
    background: rgba(10, 8, 20, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.lang-dropdown.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lang-dropdown-item {
    background: transparent;
    border: 1px solid transparent;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
}

.lang-dropdown-item * {
    pointer-events: none;
}

.lang-dropdown-item img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-dropdown-item:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #fff;
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

.lang-dropdown-item.active {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
    border-color: rgba(168, 85, 247, 0.4);
}

/* Adjustments for mobile viewports to prevent layout overflow */
@media (max-width: 480px) {
    .navbar-actions {
        gap: 10px;
        margin-left: 12px;
    }
    .lang-toggle, .cart-toggle {
        width: 40px;
        height: 40px;
    }
    .lang-flag-icon {
        width: 20px;
        height: 20px;
    }
    .lang-dropdown {
        width: 150px;
        padding: 8px;
    }
    .lang-dropdown-item {
        padding: 6px 10px;
        font-size: 12.5px;
        gap: 8px;
    }
}

/* ==========================================================================
   PRODUCT DETAILED FEATURES IN SHOWROOM MODAL
   ========================================================================== */
.product-features-detail {
    color: var(--color-text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.product-features-detail .intro-desc {
    font-size: 15px;
    margin-bottom: 24px;
    color: var(--color-text);
}

.product-features-detail .feature-section-title {
    font-family: var(--font-header);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-top: 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.product-features-detail .feature-section-title i {
    color: var(--color-primary);
}

.product-features-detail .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features-detail .features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-features-detail .features-list li i.text-accent {
    color: var(--color-primary);
    margin-top: 4px;
    font-size: 14px;
}

.product-features-detail .commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.product-features-detail .command-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 12px;
}

.product-features-detail .command-group h5 {
    font-family: var(--font-header);
    font-size: 13.5px;
    color: #fff;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-features-detail .command-group h5 i {
    color: var(--color-primary);
}

.product-features-detail .command-group code {
    background: rgba(168, 85, 247, 0.1);
    color: #c084fc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    display: inline-block;
    margin: 2px;
}

.product-features-detail .badges-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features-detail .badge.dependency {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #e9d5ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-features-detail .setup-steps {
    padding-left: 20px;
    margin: 0 0 20px 0;
}

.product-features-detail .setup-steps li {
    margin-bottom: 8px;
}

/* YOUTUBE DEMO BUTTON STYLE */
.modal-video-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: none; /* Controlled by JavaScript */
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff0000, #c30000);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #fff !important;
    cursor: pointer;
}

.modal-video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff1a1a, #d60000);
}

.modal-video-btn i {
    font-size: 16px;
    color: #fff;
}

.modal-video-btn.disabled {
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    transform: none !important;
}

.modal-video-btn.disabled i {
    color: rgba(255, 255, 255, 0.4) !important;
}
