* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #b74bff;
    --dark-bg: #0a0a0a;
    --gray-dark: #1a1a1a;
    --gray-light: #2a2a2a;
    --gray-text: #b0b0b0;
    --white: #ffffff;
    --accent-purple: #9d3eff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* HERO SECTION */
.hero {
    min-height: auto;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(183, 75, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 600px;
}
.profile-img-wrapper {
  display: flex;
  justify-content: center;
}

.profile-img {
  display: block;
  margin: 0 auto;
}


.profile-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 3px solid var(--primary-purple);
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 0 40px rgba(183, 75, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 15px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 30px;
    height: 30px;
    color: var(--primary-purple);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    color: var(--white);
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--primary-purple));
}

/* GUIDE SECTION */
.guide-section {
    background-color: var(--gray-dark);
    padding: 60px 20px;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.guide-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.guide-content h2 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.guide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.guide-content p {
    color: var(--gray-text);
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.guide-description {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gray-text);
}

.guide-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guide-form label {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 600;
    text-align: left;
}

.guide-form input {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: var(--white);
    color: var(--dark-bg);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.guide-form input:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(183, 75, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;   /* Esta línea quita el subrayado */
    text-align: center;
    animation: glowPulse 2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 75, 255, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.services-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, transparent 100%);
    margin: 20px auto 0;
}

.service-card {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--gray-light) 100%);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(183, 75, 255, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 9px;
    color: var(--white);
    text-align: left;
    display: flex;
    align-items: center;
}

.service-icon {
    font-size: 2.5rem;
    margin-right: 10px;
    min-width: 30px;
    display: inline-block;
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: justify;
}

.btn-service {
    padding: 12px 25px;
    background-color: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: var(--primary-purple);
    color: var(--white);
    transform: translateX(5px);
}

/* PRODUCTS SECTION */
.products-section {
    background-color: var(--gray-dark);
    padding: 80px 20px;
    border-top: 1px solid var(--gray-light);
}

.products-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
}

.products-section h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, transparent 100%);
    margin: 20px auto 0;
}

.product-card {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-dark) 100%);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.service-card,
.product-card {
  box-shadow: 0 0 18px rgba(183, 75, 255, 2.25); /* brillo suave siempre */
  border-color: var(--gray-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.product-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 15px 40px rgba(183, 75, 255, 0.2);
    transform: translateY(-8px);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.product-card p {
    color: var(--gray-text);
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: justify;
}

/* FAQ SECTION */
.faq-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--gray-dark) 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.faq-section p {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-telegram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

/* FOOTER */
.footer {
    background-color: var(--gray-dark);
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid var(--gray-light);
}

.footer p {
    color: var(--gray-text);
    margin-bottom: 10px;
    text-align: center;
}

.footer a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .guide-container {
        grid-template-columns: 1fr;
    }

    .services-section h2,
    .products-section h2,
    .faq-section h2 {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card,
    .product-card {
        padding: 20px;
    }
}

/* CUSTOM ALERT */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-alert-overlay.show {
    opacity: 1;
}

.custom-alert-box {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--dark-bg) 100%);
    border: 2px solid var(--primary-purple);
    border-radius: 16px;
    padding: 40px 30px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(183, 75, 255, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-alert-overlay.show .custom-alert-box {
    transform: scale(1);
}

.custom-alert-content {
    text-align: center;
}

.custom-alert-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 500;
}

.custom-alert-content p strong {
    color: var(--primary-purple);
}

.custom-alert-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-alert-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.custom-alert-telegram {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    color: var(--white);
}

.custom-alert-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 75, 255, 0.6);
}

.custom-alert-cancel {
    background: transparent;
    border: 2px solid var(--gray-light);
    color: var(--gray-text);
}

.custom-alert-cancel:hover {
    border-color: var(--primary-purple);
    color: var(--white);
}

/* Para el botón simple de "Entendido" */
.custom-alert-btn:not(.custom-alert-telegram):not(.custom-alert-cancel) {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    color: var(--white);
}

.custom-alert-btn:not(.custom-alert-telegram):not(.custom-alert-cancel):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(183, 75, 255, 0.5);
}
/* Animación de brillo en el borde */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 0 rgba(183, 75, 255, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(183, 75, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 0 rgba(183, 75, 255, 0);
  }
}

@keyframes cardPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(183, 75, 255, 0.0);
    border-color: var(--gray-light);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(183, 75, 255, 0.6);
    border-color: var(--primary-purple);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(183, 75, 255, 0.0);
    border-color: var(--gray-light);
  }
}

/* Solo la tarjeta destacada se anima sola */
.service-card--featured {
  animation: cardPulse 2.5s ease-in-out infinite;
}

.product-card--featured {
  animation: cardPulse 2.5s ease-in-out infinite;
}

.kit-description {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
}


