
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

:root {
    --primary-color: #0d0d2b;
    --secondary-color: #1a1a3a;
    --accent-color: #00f7ff;
    --highlight-color: #ff00ff;
    --text-color: #e0e0e0;
    --font-family: 'Rajdhani', sans-serif;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--primary-color);
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    font-size: 22px; /* Further increased base font size */
    background-image: radial-gradient(circle, var(--secondary-color) 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 20px;
    text-align: center;
    background: linear-gradient(45deg, #0d0d2b, #1a1a3a);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--highlight-color));
    animation: animate-background 10s infinite linear;
    opacity: 0.1;
    filter: blur(100px);
}

@keyframes animate-background {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4em;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--highlight-color);
    animation: flicker 5s infinite alternate;
}

@keyframes flicker {
    0%, 100% {
        text-shadow: 0 0 8px var(--accent-color), 0 0 16px var(--highlight-color);
    }
    50% {
        text-shadow: 0 0 12px var(--accent-color), 0 0 24px var(--highlight-color);
    }
}

.hero-content .subtitle {
    font-size: 1.4em;
    margin: 20px 0 40px;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    background: transparent;
    color: var(--accent-color);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color), inset 0 0 10px var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
    position: relative;
    overflow: hidden;
    font-size: 1.1em;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    color: var(--primary-color);
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
}

.section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 3em;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.card {
    background: rgba(26, 26, 58, 0.8);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.2), inset 0 0 10px rgba(0, 247, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.4), inset 0 0 15px rgba(0, 247, 255, 0.2);
}

.learn-grid, .details-grid, .pricing-grid, .payment-methods, .time-zone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.course-agenda {
    list-style: none;
    padding: 0;
    text-align: left;
}

.course-agenda li {
    background: rgba(26, 26, 58, 0.8);
    padding: 30px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 20px;
}

.learn-item, .detail-item, .price-card, .time-zone-item {
    background: rgba(26, 26, 58, 0.8);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease-out;
}

.learn-item:hover, .detail-item:hover, .price-card:hover, .time-zone-item:hover {
    background: rgba(36, 36, 68, 0.9);
    transform: scale(1.05);
}

.card h3, .price-card h4, .detail-item h4, .course-agenda h3 {
    color: var(--accent-color);
    text-transform: uppercase;
}

#target-audience ul, #schedule ul {
    list-style: none;
    padding: 0;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--highlight-color);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.instructor-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--highlight-color);
    box-shadow: 0 0 15px var(--highlight-color);
}

.social-links a {
    color: var(--text-color);
    font-size: 1.8em;
    margin-right: 20px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
    color: var(--highlight-color);
    text-shadow: 0 0 10px var(--highlight-color);
}

.time-zone-item img {
    width: 30px;
    height: auto;
    filter: drop-shadow(0 0 5px #fff);
}

#registro.section {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-top: 1px solid var(--accent-color);
    padding-top: 100px;
    padding-bottom: 100px;
}

#registro h2 {
    color: var(--highlight-color);
    text-shadow: 0 0 10px var(--highlight-color);
}

#registro .cta-button {
    color: var(--highlight-color);
    border-color: var(--highlight-color);
    box-shadow: 0 0 10px var(--highlight-color), inset 0 0 10px var(--highlight-color);
    text-shadow: 0 0 5px var(--highlight-color);
    margin-top: 20px;
}

#registro .cta-button:hover {
    color: var(--primary-color);
    background: var(--highlight-color);
    box-shadow: 0 0 20px var(--highlight-color), 0 0 30px var(--highlight-color);
}

.grabacion-mensaje {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    background-color: rgba(0, 247, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    text-align: left;
}

.grabacion-mensaje i {
    font-size: 2em;
    color: var(--accent-color);
}

.grabacion-mensaje p {
    margin: 0;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    body {
        font-size: 20px; /* Readjust for smaller screens */
    }

    .hero-content h1 {
        font-size: 3.5em;
    }

    .section h2 {
        font-size: 3em;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .instructor-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content .subtitle {
        font-size: 1.4em;
    }

    .section {
        padding: 60px 15px;
    }
}
