/* ================= VARIABLES ================= */
:root {
    --primary: #c4ff00; /* Verde Neón */
    --primary-dark: #9acc00;
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= TIPOGRAFÍA Y TÍTULOS ================= */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: var(--text-muted);
}

/* ================= BOTONES ================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
}

/* ================= HEADER ================= */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.subtitle {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* ================= CARACTERÍSTICAS / NOSOTROS ================= */
.features {
    padding: 80px 0;
    background-color: #050505;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(196, 255, 0, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ================= CLASES ================= */
.classes {
    padding: 100px 0;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.class-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.class-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.class-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%);
}

.class-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.class-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.class-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.class-card:hover .class-img {
    transform: scale(1.1);
}

/* ================= PLANES (PRICING) ================= */
.pricing {
    padding: 100px 0;
    background-color: #050505;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.price-card {
    background-color: var(--bg-card);
    padding: 50px 40px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.popular {
    background-color: #111;
    border-color: var(--primary);
    transform: scale(1.05);
    padding: 60px 40px;
}

.badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.price-card h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.price span:first-child {
    font-size: 1.5rem;
    margin-top: 10px;
}

.price span:last-child {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 15px;
    margin-left: 5px;
}

.price-card ul {
    margin-bottom: 40px;
    text-align: left;
}

.price-card ul li {
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li i.ri-check-line {
    color: var(--primary);
}

.price-card ul li i.ri-close-line {
    color: #ff3333;
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo p {
    color: var(--text-muted);
    margin: 20px 0;
    max-width: 400px;
}

.socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.socials a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.footer-bottom {
    background-color: #050505;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom span {
    color: var(--primary);
    font-weight: 600;
}

/* ================= MEDIA QUERIES (RESPONSIVO) ================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .price-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    .menu-btn { display: block; }
    .btn-nav { display: none; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
    }

    .hero h1 { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    .btn { text-align: center; }
}