/* ===== RESET BÁSICO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIABLES AXS ===== */
:root {
    --axs-black:       #0d0d0d;
    --axs-gray-dark:   #1a1a1a;
    --axs-gray-mid:    #222222;
    --axs-gray:        #444444;
    --axs-white:       #F5F5F0;
    --axs-green:       #22c55e;
    --axs-green-dark:  #16a34a;
    --axs-green-glow:  rgba(34,197,94,.12);
    --axs-green-border:rgba(34,197,94,.28);
    --axs-lime:        #B5C832;
    --axs-lime-dark:   #8FA020;
    --axs-lime-glow:   rgba(181,200,50,.12);
    --axs-lime-border: rgba(181,200,50,.28);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0e0e0e;
    color: #f8f9fa;
    overflow-x: hidden;
}

/* ===== LINKS ===== */
a {
    text-decoration: none;
    color: inherit;
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0e0e0e; }
::-webkit-scrollbar-thumb { background: #22c55e; border-radius: 3px; }

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
    50%       { box-shadow: 0 0 0 14px rgba(34,197,94,0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(.7); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(34,197,94,.3); }
    50%       { border-color: rgba(34,197,94,.9); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(14,14,14,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34,197,94,.2);
    transition: all .4s ease;
    animation: slideDown .6s ease forwards;
}

.navbar.scrolled {
    background: rgba(10,10,10,.98);
    border-bottom-color: rgba(34,197,94,.5);
    box-shadow: 0 4px 30px rgba(34,197,94,.1);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.3rem;
    background: linear-gradient(90deg, #22c55e, #86efac, #22c55e);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.nav-link {
    color: #f8f9fa !important;
    transition: color .3s ease, transform .2s ease;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: all .3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: #22c55e !important;
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.85)),
        url("img/gym-bg.jpg") center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(34,197,94,.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Partículas decorativas */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(34,197,94,.1);
    border-radius: 50%;
    animation: spin-slow 20s linear infinite;
    pointer-events: none;
}

.hero-content {
    animation: fadeInLeft .9s ease forwards;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero span {
    color: #22c55e;
    position: relative;
}

.hero p {
    color: #cfcfcf;
    max-width: 600px;
    animation: fadeInUp 1s .3s ease both;
}

.hero-btns {
    animation: fadeInUp 1s .5s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.3);
    color: #22c55e;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp .8s ease both;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

/* ===== BOTONES ===== */
.btn-axs {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    border: none;
    color: #0e0e0e;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 30px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: .5px;
}

.btn-axs::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transition: left .5s ease;
}

.btn-axs:hover::before {
    left: 100%;
}

.btn-axs:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(34,197,94,.45);
    color: #0e0e0e;
}

.btn-axs:active {
    transform: translateY(-1px);
}

/* ===== SECCIONES ===== */
.section {
    padding: 90px 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, transparent);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: #bdbdbd;
    max-width: 700px;
}

/* ===== CARDS ===== */
.card {
    background-color: #141414;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(34,197,94,.2);
    border-color: rgba(34,197,94,.3);
}

.card i {
    color: #22c55e;
    transition: transform .3s ease;
}

.card:hover i {
    transform: scale(1.15);
}

/* ===== STATS / COUNTERS ===== */
.stat-card {
    background: linear-gradient(135deg, #141414, #1a1a1a);
    border: 1px solid rgba(34,197,94,.15);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all .3s ease;
    animation: borderGlow 3s ease-in-out infinite;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34,197,94,.6);
    box-shadow: 0 15px 40px rgba(34,197,94,.15);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #22c55e;
    line-height: 1;
    animation: countUp .8s ease both;
}

.stat-label {
    color: #aaa;
    font-size: .9rem;
    margin-top: 6px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Delays escalonados */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ===== FLOATING ICONS ===== */
.float-icon {
    animation: float 3s ease-in-out infinite;
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(180deg, #0b0b0b, #080808);
    border-top: 1px solid rgba(34,197,94,.15);
    color: #aaa;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, #22c55e, #86efac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-link {
    color: #888;
    transition: color .3s ease, transform .2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #22c55e;
    transform: translateX(4px);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34,197,94,.1);
    border: 1px solid rgba(34,197,94,.2);
    color: #22c55e;
    transition: all .3s ease;
    font-size: 1rem;
}

.social-btn:hover {
    background: #22c55e;
    color: #0e0e0e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34,197,94,.35);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
    animation: pulse-green 2.5s infinite;
    transition: transform .3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    color: #fff;
}

/* ===== ADMIN ===== */
.admin-badge {
    background-color: #22c55e;
    color: #0e0e0e;
    font-weight: 600;
}

/* ===== FORM STYLES ===== */
.form-control, .form-select {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,.1);
    color: #f8f9fa;
    border-radius: 10px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.form-control:focus, .form-select:focus {
    background: #1e1e1e;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.15);
    color: #f8f9fa;
}

.form-control::placeholder {
    color: #555;
}

/* ===== HERO PARTICLES ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(34,197,94,.15);
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,.3), transparent);
    margin: 0;
}

/* ===== BADGE ANIMADO ===== */
.badge-glow {
    animation: pulse-green 2s infinite;
}

/* ===== PROGRESS BARS ===== */
.progress {
    background: #1a1a1a;
    border-radius: 10px;
    height: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 10px;
    transition: width 1.5s ease;
}

/* ===== TOOLTIP CUSTOM ===== */
.tooltip-inner {
    background: #22c55e;
    color: #0e0e0e;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .stat-number { font-size: 2rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 1.3rem; }
}

