/* ============================================
   SHYRO HOSTING - PÁGINA DISCORD BOT HOSTING
   ESTILOS COMPLETOS
   ============================================ */

/* ---------- HERO DISCORD ---------- */
.discord-hero .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.discord-hero .hero-content {
    text-align: left;
}

.discord-hero .hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--color-text-primary);
    text-align: left;
}

[data-theme="light"] .discord-hero .hero-content h1 {
    color: #FFFFFF;
}

.discord-hero .hero-content h1 span {
    color: var(--color-primary);
}

.discord-hero .hero-sub {
    max-width: 520px;
    margin-bottom: 32px;
    color: var(--hero-text);
    font-size: 1.15rem;
    line-height: 1.7;
    text-align: left;
}

[data-theme="light"] .discord-hero .hero-sub {
    color: rgba(255, 255, 255, 0.7);
}

.discord-hero .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* ============================================
   PANEL DE BOT DE DISCORD
   ============================================ */

.discord-hero .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bot-panel {
    width: 100%;
    max-width: 520px;
    background: #0D0D0D;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.bot-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 229, 255, 0.08);
}

[data-theme="light"] .bot-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ----- Header del panel ----- */
.bot-panel-header {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: #1A1A1A;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bot-panel-dots {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.bot-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all var(--transition-smooth);
}

.bot-dot.red {
    background: #FF5F56;
}
.bot-dot.yellow {
    background: #FFBD2E;
}
.bot-dot.green {
    background: #27C93F;
}

.bot-dot:hover {
    transform: scale(1.2);
}

.bot-panel-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Inter', monospace;
    letter-spacing: 0.02em;
}

.bot-status {
    font-size: 0.65rem;
    font-weight: 600;
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.bot-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* ----- Cuerpo del panel ----- */
.bot-panel-body {
    padding: 16px 18px 14px;
    background: #0D0D0D;
}

/* ----- Estadísticas ----- */
.bot-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bot-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.bot-stat-label {
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.bot-stat-value {
    color: #00E5FF;
    font-weight: 600;
}

.bot-stat-value.uptime {
    color: #22c55e;
}

/* ----- Métricas ----- */
.bot-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.bot-metric {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.bot-metric-icon {
    font-size: 1.1rem;
}

.bot-metric div {
    display: flex;
    flex-direction: column;
}

.bot-metric-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.bot-metric-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #E8E8E8;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ----- Logs ----- */
.bot-logs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.6rem;
    min-height: 90px;
}

.bot-log {
    color: rgba(255, 255, 255, 0.4);
    padding: 2px 0;
    opacity: 0;
    animation: terminalFadeIn 0.3s ease forwards;
}

.bot-log:nth-child(1) { animation-delay: 0.1s; }
.bot-log:nth-child(2) { animation-delay: 0.2s; }
.bot-log:nth-child(3) { animation-delay: 0.3s; }
.bot-log:nth-child(4) { animation-delay: 0.4s; }

.bot-log.success {
    color: #22c55e;
}

.bot-log.cursor {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.bot-prompt {
    color: #00E5FF;
    font-weight: 600;
}

.bot-blink {
    color: #00E5FF;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ============================================
   SECCIÓN DE PLANES
   ============================================ */
.plans-discord {
    padding: 80px 0;
    background: var(--color-bg);
}

[data-theme="light"] .plans-discord {
    background: var(--color-bg);
}

.plans-discord .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.plans-discord .section-header .section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding: 4px 16px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg-input);
}

[data-theme="light"] .plans-discord .section-header .section-label {
    background: rgba(0, 229, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.08);
}

.plans-discord .section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.plans-discord .section-header h2 span {
    color: var(--color-primary);
}

.plans-discord .section-header p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.plans-discord .plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

/* ============================================
   TARJETA DE PLAN - DISCORD
   ============================================ */
.plan-card-discord {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-card);
    border-radius: 16px;
    padding: 36px 28px 28px;
    transition: all var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

[data-theme="light"] .plan-card-discord {
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 16px rgba(0, 0, 0, 0.03);
}

.plan-card-discord:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-active);
    box-shadow: var(--shadow-card-hover);
}

[data-theme="light"] .plan-card-discord:hover {
    border-color: rgba(0, 229, 255, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03), 0 8px 32px rgba(0, 0, 0, 0.06);
}

.plan-card-discord.popular {
    border-color: var(--color-border-active);
    background: rgba(0, 229, 255, 0.025);
}

[data-theme="light"] .plan-card-discord.popular {
    border-color: rgba(0, 229, 255, 0.08);
    background: rgba(0, 229, 255, 0.015);
}

.plan-card-discord.powerful {
    border-color: rgba(255, 215, 0, 0.08);
}

/* ----- Badge en esquina ----- */
.plan-card-discord .plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2);
}

.plan-card-discord .plan-badge.popular-badge {
    background: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.plan-card-discord .plan-badge.powerful-badge {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* ----- Contenido ----- */
.plan-card-discord .plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.plan-card-discord .plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.plan-card-discord .plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.plan-card-discord .plan-features {
    flex: 1;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.plan-card-discord .plan-features li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    padding: 5px 0 5px 24px;
    position: relative;
    line-height: 1.5;
}

.plan-card-discord .plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5865F2;
    opacity: 0.35;
    transition: all var(--transition-smooth);
}

.plan-card-discord:hover .plan-features li::before {
    opacity: 0.7;
    transform: scale(1.2);
}

.plan-card-discord .plan-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(88, 101, 242, 0.08);
    color: #5865F2;
    margin-bottom: 16px;
    align-self: flex-start;
}

.plan-card-discord .plan-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* ============================================
   COMPARATIVA
   ============================================ */
.compare-discord {
    padding: 80px 0 100px;
    background: var(--color-bg-alt);
}

[data-theme="light"] .compare-discord {
    background: var(--color-bg-alt);
}

.compare-discord .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.compare-discord .section-header .section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding: 4px 16px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg-input);
}

[data-theme="light"] .compare-discord .section-header .section-label {
    background: rgba(0, 229, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.08);
}

.compare-discord .section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.compare-discord .section-header h2 span {
    color: var(--color-primary);
}

.compare-discord .section-header p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ----- Tabla ----- */
.compare-discord .table-responsive {
    overflow-x: auto;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-soft);
    -webkit-overflow-scrolling: touch;
    max-width: 900px;
}

[data-theme="light"] .compare-discord .table-responsive {
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 4px 20px rgba(0, 0, 0, 0.04);
}

.compare-discord .table-responsive table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 620px;
}

.compare-discord .table-responsive thead {
    background: var(--color-bg-input);
}

[data-theme="light"] .compare-discord .table-responsive thead {
    background: #F3F4F6;
}

.compare-discord .table-responsive th {
    text-align: left;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-border-light);
}

[data-theme="light"] .compare-discord .table-responsive th {
    color: #6B7280;
    border-bottom-color: #E5E7EB;
}

.compare-discord .table-responsive td {
    padding: 14px 20px;
    border-top: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    font-weight: 400;
    transition: all var(--transition-smooth);
}

[data-theme="light"] .compare-discord .table-responsive td {
    border-top-color: #F3F4F6;
    color: #4B5563;
}

.compare-discord .table-responsive tbody tr {
    transition: background-color var(--transition-smooth);
}

.compare-discord .table-responsive tbody tr:hover {
    background: var(--color-bg-input);
}

[data-theme="light"] .compare-discord .table-responsive tbody tr:hover {
    background: #F9FAFB;
}

.compare-discord .table-responsive td:first-child {
    font-weight: 600;
    color: var(--color-text-primary);
}

[data-theme="light"] .compare-discord .table-responsive td:first-child {
    color: #111827;
}

.compare-discord .table-responsive td:last-child {
    font-weight: 600;
    color: var(--color-primary);
}

/* ----- Etiquetas en tabla ----- */
.table-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 10px;
    border-radius: 12px;
    margin-left: 6px;
}

.table-tag.popular {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.table-tag.powerful {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* ============================================
   ANIMACIONES
   ============================================ */
.plan-card-discord {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.plan-card-discord:nth-child(1) { animation-delay: 0.05s; }
.plan-card-discord:nth-child(2) { animation-delay: 0.1s; }
.plan-card-discord:nth-child(3) { animation-delay: 0.15s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .discord-hero .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .bot-panel {
        max-width: 460px;
    }
    
    .plans-discord .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .discord-hero .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .discord-hero .hero-content {
        text-align: center;
    }
    
    .discord-hero .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .discord-hero .hero-sub {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .discord-hero .hero-buttons {
        justify-content: center;
    }
    
    .bot-panel {
        max-width: 100%;
    }
    
    .bot-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .bot-stats {
        flex-wrap: wrap;
        gap: 8px 16px;
    }
    
    .plans-discord .section-header h2 {
        font-size: 1.8rem;
    }
    
    .compare-discord .section-header h2 {
        font-size: 1.8rem;
    }
    
    .plans-discord .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .plan-card-discord .plan-price {
        font-size: 1.8rem;
    }
    
    .compare-discord .table-responsive table {
        font-size: 0.8rem;
        min-width: 540px;
    }
    
    .compare-discord .table-responsive th,
    .compare-discord .table-responsive td {
        padding: 12px 16px;
    }
    
    .plans-discord {
        padding: 60px 0;
    }
    
    .compare-discord {
        padding: 60px 0 80px;
    }
}

@media (max-width: 480px) {
    .discord-hero .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .discord-hero .hero-sub {
        font-size: 1rem;
    }
    
    .discord-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .discord-hero .hero-buttons .btn-primary,
    .discord-hero .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .bot-panel-body {
        padding: 12px 14px 10px;
    }
    
    .bot-metrics {
        grid-template-columns: 1fr;
    }
    
    .bot-stats {
        flex-direction: column;
        gap: 4px;
    }
    
    .bot-logs {
        font-size: 0.55rem;
        padding: 8px 10px;
        min-height: 75px;
    }
    
    .bot-panel-header {
        padding: 8px 12px;
    }
    
    .bot-dot {
        width: 10px;
        height: 10px;
    }
    
    .bot-panel-title {
        font-size: 0.6rem;
    }
    
    .bot-status {
        font-size: 0.55rem;
    }
    
    .plans-discord .section-header h2 {
        font-size: 1.5rem;
    }
    
    .compare-discord .section-header h2 {
        font-size: 1.5rem;
    }
    
    .plan-card-discord {
        padding: 28px 20px 24px;
    }
    
    .plan-card-discord .plan-price {
        font-size: 1.6rem;
    }
    
    .plan-card-discord .plan-features li {
        font-size: 0.8rem;
        padding: 4px 0 4px 20px;
    }
    
    .plan-card-discord .plan-badge {
        font-size: 0.5rem;
        padding: 3px 10px;
        top: -8px;
        right: 14px;
    }
    
    .compare-discord .table-responsive table {
        font-size: 0.75rem;
        min-width: 480px;
    }
    
    .compare-discord .table-responsive th,
    .compare-discord .table-responsive td {
        padding: 10px 12px;
    }
    
    .plans-discord {
        padding: 40px 0;
    }
    
    .compare-discord {
        padding: 40px 0 60px;
    }
}