/* ==========================================
   LOTTUS BOT - Estilos Principales
   Diseño Profesional y Minimalista
   ========================================== */

:root {
    /* Colores Tema Día */
    --primary-green: #10b981;
    --primary-green-dark: #059669;
    --primary-green-light: #34d399;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] {
    /* Colores Tema Noche */
    --primary-green: #10b981;
    --primary-green-dark: #34d399;
    --primary-green-light: #059669;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --border-color: #262626;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   Reset y Base
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimización de renderizado */
*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
}

/* Respetar preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    position: relative;
    padding-top: 120px;
    /* Mejorar rendimiento de scroll */
    will-change: scroll-position;
    /* Mejorar contraste para accesibilidad */
    -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2);
}

/* ==========================================
   Particle Canvas Background
   ========================================== */

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 1; /* Opacidad completa para mejor visibilidad */
    /* Optimización de renderizado */
    will-change: contents;
    transform: translateZ(0); /* Aceleración por hardware */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ==========================================
   Navbar
   ========================================== */

.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    transform: translateY(0) !important;
    width: 100%;
    display: block;
    /* Optimización de renderizado */
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Aceleración por hardware */
}

[data-theme="dark"] .navbar {
    background-color: rgba(10, 10, 10, 0.98);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar .container {
    position: static !important;
    z-index: auto !important;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

/* Hover verde en modo oscuro */
.dark .nav-links a:hover {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--primary-green) !important;
}

.nav-links a.active {
    color: var(--primary-green);
}

.nav-links a.active {
    background: var(--bg-card);
    border: 1px solid var(--primary-green);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    position: relative;
    color: var(--primary-green) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}


.nav-links a.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    /* Mejorar accesibilidad */
    outline: none;
    position: relative;
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.theme-toggle:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-green);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* ==========================================
   Botones
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 180px;
    /* Mejorar accesibilidad */
    outline: none;
    position: relative;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Mejorar contraste para accesibilidad */
.btn-primary {
    /* Asegurar contraste mínimo WCAG AA */
    color: #ffffff;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(26, 26, 26, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-green);
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--primary-green);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-green);
}

.btn-discord {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-discord svg {
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-discord:hover svg {
    transform: translateX(2px);
    color: var(--primary-green-dark);
}

/* Button Sizes */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Button Shine Effect - Removed */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   User Profile & Login
   ========================================== */

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.user-info:hover {
    background-color: var(--bg-secondary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    min-width: 300px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 1rem;
}


.dropdown-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.servers-btn,
.logout-btn {
    width: 100%;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.servers-btn {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.servers-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(4px);
}

.logout-btn:hover {
    background: var(--bg-secondary);
    border-color: #ff4757;
    color: #ff4757;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ==========================================
   Promotional Bar
   ========================================== */

.promo-bar {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9998;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.promo-content {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.promo-content::before,
.promo-content::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.promo-content::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-green), transparent);
}

.promo-content::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-green), transparent);
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: scroll-promo 25s linear infinite;
    font-weight: 600;
    font-size: 0.95rem;
    will-change: transform;
}

.promo-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.promo-message {
    flex-shrink: 0;
    font-weight: 600;
}

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

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.text-green {
    color: var(--primary-green);
}

#typewriter {
    display: inline-block;
    min-width: 180px;
    text-align: center;
}

.typewriter-cursor {
    display: none;
    font-weight: 400;
    animation: blink 0.75s step-end infinite;
    margin-left: 2px;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-green);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.badge-icon {
    font-size: 1rem;
}

.badge-text {
    color: var(--primary-green);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Trust Section */
.hero-trust {
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.trust-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.trust-text strong {
    color: var(--primary-green);
    font-weight: 600;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.trust-badge svg {
    color: var(--primary-green);
}


/* ==========================================
   Stats Section
   ========================================== */

.stats-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    color: var(--primary-green);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   Features Section
   ========================================== */

.features {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card.featured {
    border: 2px solid var(--primary-green);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), transparent);
    transform: scale(1.02);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.feature-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Feature Header and Badge */
.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-badge {
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1rem;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-green);
}

/* ==========================================
   Testimonials Section
   ========================================== */

.testimonials {
    padding: 80px 0;
    background: var(--section-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

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

/* ==========================================
   Team Section
   ========================================== */

.team {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    width: 280px;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
    box-shadow: var(--shadow-md);
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.team-contact:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-green);
}

/* New Team Styles */
.team-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-green);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-image:hover .team-overlay {
    opacity: 1;
}

.team-image:hover img {
    transform: scale(1.1);
}

.team-social {
    display: flex;
    gap: 0.5rem;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    color: var(--primary-green);
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.team-info {
    text-align: center;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* ==========================================
   CTA Section
   ========================================== */

.cta {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-primary);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* CTA Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-green);
}

/* CTA Features */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cta-feature svg {
    color: var(--primary-green);
}

.cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta .btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.cta .btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: transparent;
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Footer Badges */
.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-badge svg {
    color: var(--primary-green);
}


/* ==========================================
   Changelog Styles
   ========================================== */

.changelog-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, 
        var(--bg-primary) 0%, 
        var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.changelog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, 
        rgba(16, 185, 129, 0.1) 0%, 
        transparent 50%),
        radial-gradient(circle at 80% 20%, 
        rgba(16, 185, 129, 0.05) 0%, 
        transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.changelog-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.changelog-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.changelog-version {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.changelog-version:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.version-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-badge.new {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.version-badge.major {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.version-badge.patch {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.version-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.version-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: auto;
}

.version-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.change-category {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.change-category:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.category-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
}

.change-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.change-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.change-item:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
}

.change-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.change-item.new {
    border-left: 3px solid #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.change-item.improved {
    border-left: 3px solid #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.change-item.fixed {
    border-left: 3px solid #8b5cf6;
    background: rgba(139, 92, 246, 0.05);
}

/* Responsive Changelog */
@media (max-width: 768px) {
    .changelog-hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .changelog-version {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .version-date {
        margin-left: 0;
    }
    
    .version-title {
        font-size: 1.5rem;
    }
    
    .change-category {
        padding: 1rem;
    }
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 2rem;
    }

    .trust-badges {
        gap: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-features {
        gap: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .bot-panel {
        width: 350px;
        height: 450px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 100vh;
        padding: 0;
    }


    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-discord {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 2rem;
    }

}

/* ==========================================
   Commands Page Styles
   ========================================== */

.commands-header {
    padding-top: 160px;
    padding-bottom: 3rem;
    text-align: center;
}

.commands-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.commands-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.command-search {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
    display: flex;
    align-items: center;
}

.command-search svg {
    position: absolute;
    left: 1.5rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.command-search input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.command-search input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.command-search input::placeholder {
    color: var(--text-secondary);
}

/* Command Tabs */
.commands-section {
    padding: 3rem 0 6rem;
}

.command-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) transparent;
}

.command-tabs::-webkit-scrollbar {
    height: 4px;
}

.command-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.command-tabs::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 2px;
}

.command-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.command-tab:hover {
    border-color: var(--primary-green);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.command-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.tab-icon {
    font-size: 1.5rem;
}

.tab-label {
    font-weight: 600;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.command-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Command Content */
.commands-content {
    position: relative;
}

.command-category {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.command-category.active {
    display: block;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.command-card {
    background: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.command-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .command-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.command-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.command-name {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    flex-grow: 1;
}

.command-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.command-badge.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.command-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results svg {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Responsive Commands */
@media (max-width: 768px) {
    .commands-header {
        padding-top: 140px;
    }

    .commands-title {
        font-size: 2rem;
    }

    .commands-description {
        font-size: 1rem;
    }

    .command-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .command-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .command-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .tab-icon {
        font-size: 1.25rem;
    }
}

/* ==========================================
   Página de Servidores
   ========================================== */

.servers-page {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 4rem;
    position: relative;
}

.servers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.servers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.servers-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.servers-header h1 .text-green {
    color: var(--primary-green);
}

.servers-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.server-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.server-card:hover::before {
    transform: scaleX(1);
}

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

.server-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.server-card-icon img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.server-card-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.server-card-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Bot Status Indicators */
.bot-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.bot-present {
    background-color: var(--primary-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-indicator.bot-absent {
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.status-indicator.checking {
    background-color: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.server-card-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.server-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.server-stat svg {
    color: var(--primary-green);
}

.server-card-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-config {
    flex: 1;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-config:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
    background: linear-gradient(135deg, #4b5563, #374151);
}

.btn-dashboard {
    flex: 1;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-dashboard:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.btn-go {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-go:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-state p {
    margin-bottom: 1.5rem;
}

.loading-state {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* ==========================================
   Página de Precios
   ========================================== */

.pricing-page {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 4rem;
    position: relative;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Currency Toggle */
.currency-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.currency-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.pricing-card.featured {
    border-color: var(--primary-green);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 600;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0.25rem;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.pricing-save {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-feature svg {
    color: var(--primary-green);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.pricing-feature span {
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.pricing-btn.featured {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: none;
}

.pricing-btn.featured:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* FAQ Section */
.pricing-faq {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 3rem;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   Enhanced Pricing Styles
   ========================================== */

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fade-in 0.6s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

/* Pricing Badge */
.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
}

.pricing-badge svg {
    color: var(--primary-green);
}

/* Trust Indicators */
.pricing-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary-green);
}

/* Pricing Benefits Section */
.pricing-benefits {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 4rem;
}

.pricing-benefits h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.benefit-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.benefit-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Pricing Cards */
.plan-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: var(--primary-green);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.plan-label.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    color: #d4af37;
}

.feature-icon-check {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.feature-icon-check.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    color: #d4af37;
}

.pricing-feature.highlighted {
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.pricing-feature.highlighted span {
    color: var(--primary-green);
}

.pricing-card.premium {
    position: relative;
    overflow: hidden;
}

.pricing-card.premium::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #d4af37, #f4e4a6, #d4af37);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-btn svg {
    transition: transform 0.3s ease;
}

.pricing-btn:hover svg {
    transform: translateX(4px);
}

.pricing-btn.premium {
    background: linear-gradient(135deg, #d4af37, #f4e4a6);
    color: #000;
    border: none;
    font-weight: 700;
}

.pricing-btn.premium:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.plan-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Comparison Table */
.pricing-comparison {
    margin: 5rem 0;
}

.pricing-comparison h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
}

.comparison-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.comparison-table thead {
    background: var(--bg-secondary);
}

.comparison-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table th:first-child {
    text-align: left;
    padding-left: 2rem;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.comparison-table td:first-child {
    text-align: left;
    padding-left: 2rem;
    font-weight: 500;
}

.comparison-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.03);
}

.featured-column {
    background: rgba(16, 185, 129, 0.05);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.check-icon {
    color: var(--primary-green);
    font-size: 1.25rem;
    font-weight: bold;
}

.cross-icon {
    color: var(--text-tertiary);
    font-size: 1.25rem;
    opacity: 0.5;
}

.highlight {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.highlight.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    color: #d4af37;
}

/* Testimonials in Pricing */
.pricing-testimonials {
    margin: 5rem 0;
}

.pricing-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-testimonials .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-testimonials .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-testimonials .testimonial-card:hover::before {
    transform: scaleX(1);
}

.pricing-testimonials .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.testimonial-stars {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #fbbf24;
}

.testimonial-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-text {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

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

/* Responsive Design for Pricing */
@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 2rem;
    }

    .pricing-trust {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .pricing-benefits {
        padding: 2rem 1.5rem;
    }

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-comparison h2,
    .pricing-testimonials h2 {
        font-size: 2rem;
    }

    .comparison-table-wrapper {
        border-radius: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
        padding-left: 1rem;
    }

    .pricing-faq h2 {
        font-size: 2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-testimonials .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Páginas Legales (TOS, Privacidad, etc.)
   ========================================== */

.legal-hero {
    padding: 8rem 0 4rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1), transparent 70%);
    pointer-events: none;
}

.legal-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.legal-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto 2rem;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item svg {
    color: var(--primary-green);
}

.legal-content {
    padding: 4rem 0 6rem;
    background: transparent;
    position: relative;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.legal-nav {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-nav h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-nav li {
    margin-bottom: 0.75rem;
}

.legal-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: block;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.legal-nav a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-green);
    transform: translateX(4px);
}

.legal-main {
    min-width: 0;
}

.legal-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.legal-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
}

.article-intro {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 3px solid var(--primary-green);
    transition: all 0.3s ease;
}

.legal-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.legal-list li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.legal-list li {
    color: var(--text-primary);
    line-height: 1.6;
}

.highlight-box,
.warning-box,
.info-box {
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.highlight-box {
    background: rgba(16, 185, 129, 0.05);
    border-left-color: var(--primary-green);
}

.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border-left-color: #ef4444;
}

.info-box {
    background: rgba(59, 130, 246, 0.05);
    border-left-color: #3b82f6;
}

.highlight-box h3,
.warning-box h3,
.info-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.highlight-box p,
.warning-box p,
.info-box p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

.lottus-name {
    color: var(--primary-green);
    font-weight: 600;
}

/* Responsive Legal Pages */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-sidebar {
        position: static;
        order: 2;
    }
    
    .legal-nav {
        padding: 1.5rem;
    }
    
    .legal-nav ul {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 0 3rem;
    }
    
    .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-description {
        font-size: 1.1rem;
    }
    
    .legal-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .legal-article {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .legal-nav ul {
        grid-template-columns: 1fr;
    }
    
    .highlight-box,
    .warning-box,
    .info-box {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-hero {
        padding: 5rem 0 2rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-description {
        font-size: 1rem;
    }
    
    .legal-article {
        padding: 1.5rem;
    }
    
    .article-intro {
        padding: 1.5rem;
    }
    
    .legal-list li {
        padding: 0.75rem;
    }
}

/* ==========================================
   Modal de Función en Desarrollo
   ========================================== */

.dev-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.dev-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

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

.dev-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.dev-modal-content {
    text-align: center;
}

.dev-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.dev-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.dev-modal-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.dev-modal-features {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.dev-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.dev-feature:last-child {
    margin-bottom: 0;
}

.dev-feature svg {
    color: var(--primary-green);
    flex-shrink: 0;
}

.dev-modal-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.dev-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.dev-modal-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

.dev-modal-note a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.dev-modal-note a:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .dev-modal {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .dev-modal-title {
        font-size: 1.5rem;
    }

    .dev-modal-icon {
        width: 64px;
        height: 64px;
    }

    .dev-modal-icon svg {
        width: 48px;
        height: 48px;
    }
}