/* Black Industrial - Dark Tech Style */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    background: #050505;
    color: #e0e0e0;
    line-height: 1.5;
    min-height: 100vh;
}

/* Background con textura sutil */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(20, 20, 20, 0.4) 0px,
            rgba(20, 20, 20, 0.4) 1px,
            transparent 1px,
            transparent 4px
        ),
        radial-gradient(circle at 30% 20%, #0a0a0a, #000000);
    z-index: -2;
}

/* Header estilo panel industrial */
.header {
    background: #0a0a0a;
    border-bottom: 1px solid #2a2a2a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(1.1);
}

.logo-icon-fallback {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid #3a3a3a;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Hero section */
.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 32px 50px;
    text-align: center;
}

.profile-section {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3a3a3a;
    box-shadow: 0 0 0 4px #1a1a1a, 0 8px 20px rgba(0,0,0,0.5);
}

.profile-avatar-fallback {
    width: 110px;
    height: 110px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    border: 2px solid #3a3a3a;
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-badge {
    background: #0f0f0f;
    border-radius: 12px;
    padding: 12px 28px;
    text-align: center;
    border: 1px solid #2a2a2a;
    min-width: 120px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #8a8a8a;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1rem;
    color: #8a8a8a;
    max-width: 600px;
    margin: 0 auto;
}

/* Services grid */
.services-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.section-header p {
    color: #8a8a8a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.service-card {
    background: #0f0f0f;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    border: 1px solid #2a2a2a;
    cursor: pointer;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #5a5a5a;
    background: #141414;
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card p {
    color: #8a8a8a;
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 16px 0;
}

.price small {
    font-size: 0.7rem;
    font-weight: 400;
    color: #8a8a8a;
}

.price-consult {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #b0b0b0;
    margin: 16px 0;
}

.features-list {
    list-style: none;
    margin-top: 16px;
}

.features-list li {
    font-size: 0.75rem;
    color: #9a9a9a;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.features-list li::before {
    content: "→";
    color: #ffffff;
}

.consult-badge {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    color: #b0b0b0;
    margin-top: 12px;
}

/* Badges destacados */
.service-card .service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 0.65rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #0f0f0f;
    border-radius: 20px;
    max-width: 520px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #8a8a8a;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 24px;
}

.consult-note {
    background: rgba(255,255,255,0.03);
    padding: 12px 16px;
    border-radius: 12px;
    margin: 16px 0;
    font-size: 0.8rem;
    color: #b0b0b0;
    text-align: center;
}

/* Secciones especiales */
.minecraft-special, .vps-special {
    background: rgba(255,255,255,0.03);
    padding: 18px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid #2a2a2a;
}

.minecraft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 14px 0;
}

.minecraft-grid-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #b0b0b0;
}

.minecraft-grid-item span {
    color: #ffffff;
}

/* Botón */
.btn-submit, .btn-contact {
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
}

.btn-submit:hover, .btn-contact:hover {
    background: #2a2a2a;
    border-color: #5a5a5a;
}

/* Footer */
.footer {
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    padding: 32px;
    text-align: center;
    color: #6a6a6a;
    font-size: 0.75rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.payment-icons i {
    color: #6a6a6a;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.payment-icons i:hover {
    color: #ffffff;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.4s ease backwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 12px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .stats-row {
        gap: 16px;
    }
    
    .stat-badge {
        padding: 8px 20px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}