/* VARIABLES & RESET */
:root {
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --primary: #00E676; /* Verde Neón */
    --primary-dark: #00c853;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 90px;
}

/* TOP BANNER */
.top-banner { background: #FFD700; color: #000; text-align: center; padding: 8px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px; }

/* NAVBAR */
.navbar {
    position: sticky; top: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: all 0.3s ease;
}
.navbar.scrolled { background: rgba(5, 5, 5, 0.95); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 80px; }

/* LOGO: HOW [TO] CRYPTO - CENTRADO PERFECTO */
.logo {
    font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem;
    color: #fff; text-decoration: none; letter-spacing: -0.5px;
    display: flex; align-items: center;
}

.logo-box {
    background: var(--primary);
    color: #000;
    padding: 2px 6px; /* Ajuste fino */
    border-radius: 4px;
    margin: 0 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 1;
    font-style: normal;
    position: relative;
    top: -1px; /* Pequeño ajuste vertical si la fuente lo pide */
}

.text-green { color: var(--primary); }

/* MENU */
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { color: #ccc; text-decoration: none; font-size: 0.95rem; font-weight: 500; position: relative; transition: color 0.3s; }
.nav-link:hover { color: #fff; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--primary); transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }

.nav-btn-header {
    background: transparent; border: 1px solid var(--primary); color: var(--primary);
    padding: 10px 24px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 0.9rem; transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.1);
}
.nav-btn-header:hover {
    background: var(--primary); color: #000;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.4); transform: translateY(-2px);
}

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
.bar { display: block; width: 25px; height: 2px; background-color: #fff; transition: 0.3s; border-radius: 2px; }
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 999; }
.mobile-menu.active { transform: translateY(0); }
.mobile-link { color: #fff; text-decoration: none; font-size: 1.5rem; font-weight: 700; font-family: var(--font-heading); }
.mobile-link.highlight { color: var(--primary); }
.mobile-menu-btn.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

@media (max-width: 768px) {
    .desktop-menu { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* HERO */
.hero { text-align: center; padding: 60px 0; background: radial-gradient(circle at 50% 20%, rgba(0, 230, 118, 0.08) 0%, rgba(5,5,5,0) 60%); }
.badge { background: rgba(0, 230, 118, 0.1); color: var(--primary); padding: 6px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; }
h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin: 25px 0; }
.text-gradient { background: linear-gradient(90deg, #fff, var(--primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-sub { color: var(--text-gray); max-width: 650px; margin: 0 auto 30px; font-size: 1.1rem; }

/* BOTONES */
.btn { display: inline-block; padding: 18px 36px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: 0.3s; text-align: center; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: #000; box-shadow: 0 0 30px rgba(0, 230, 118, 0.4); }
.btn-primary:hover { background: #fff; transform: scale(1.05); box-shadow: 0 0 50px rgba(0, 230, 118, 0.6); }
.sub-cta { margin-top: 10px; font-size: 0.85rem; color: #666; }

/* TRUST BOX */
.trust-wrapper { display: flex; justify-content: center; margin-top: 40px; }
.trust-box { display: flex; gap: 25px; background: rgba(255,255,255,0.03); padding: 15px 30px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.trust-item { color: #ccc; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.check { color: var(--primary); font-weight: bold; }
@media (max-width: 600px) { .trust-box { flex-direction: column; width: 100%; gap: 10px; } }

/* SECCIONES & CARDS */
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.dark-bg { background: #0a0a0a; }
.section-title { text-align: center; font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 40px; }
.section-subtitle { display: block; text-align: center; color: var(--primary); font-size: 0.9rem; font-weight: bold; letter-spacing: 2px; margin-bottom: 10px; }

/* CARDS COMPARATIVAS ESPACIADAS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { padding: 40px; border-radius: 24px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); height: 100%; }
.card-header h3 { margin-bottom: 25px; font-size: 1.4rem; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.error-card { border-top: 4px solid #ff4444; }
.success-card { border-top: 4px solid var(--primary); background: linear-gradient(180deg, rgba(0,230,118,0.05) 0%, rgba(0,0,0,0) 100%); }
.card ul { list-style: none; padding: 0; }
.card li { margin-bottom: 18px; position: relative; padding-left: 30px; color: #ddd; font-size: 1.05rem; }
.error-card li::before { content: "✕"; position: absolute; left: 0; color: #ff4444; font-weight: bold; }
.success-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { text-align: center; padding: 30px; background: #0f0f0f; border-radius: 16px; border: 1px solid #222; transition: 0.3s; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }

/* BIO */
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.bio-image-wrapper { position: relative; }
.img-solo { width: 100%; border-radius: 20px; filter: grayscale(20%); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.floating-badge { position: absolute; bottom: 30px; right: -20px; background: #fff; color: #000; padding: 15px 25px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 10px; }
.floating-badge .number { font-size: 2rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.floating-badge .text { font-size: 0.8rem; font-weight: 700; line-height: 1.2; }
.bio-stats { display: flex; gap: 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.stat strong { display: block; font-size: 1.8rem; color: var(--primary); }
@media(max-width:768px){ .bio-grid { grid-template-columns: 1fr; text-align: center; } .floating-badge { right: 0; left: 0; margin: auto; width: fit-content; bottom: -20px; } .bio-stats { justify-content: center; } }

/* PRICING */
.pricing-card { background: #0f0f0f; padding: 0; border-radius: 30px; max-width: 500px; margin: 0 auto; text-align: center; border: 1px solid rgba(255,255,255,0.1); position: relative; box-shadow: 0 0 60px rgba(0, 230, 118, 0.05); overflow: hidden; }
.offer-banner { background: #FFD700; color: #000; font-weight: 800; padding: 10px; font-size: 0.9rem; letter-spacing: 1px; }
.pricing-header { padding: 40px 30px 20px; background: rgba(255,255,255,0.02); }
.pricing-header h2 { font-size: 1.8rem; margin-bottom: 20px; }
.price-box { font-size: 4.5rem; font-weight: 800; color: #fff; line-height: 1; }
.price-box .currency { font-size: 2.5rem; font-weight: 600; vertical-align: top; }
.period { font-size: 1rem; color: #888; font-weight: 400; display: block; margin-top: 5px; }
.pricing-body { padding: 40px 30px; }
.benefits-list { text-align: left; margin-bottom: 30px; width: fit-content; margin-left: auto; margin-right: auto; }
.benefits-list li { margin-bottom: 15px; font-size: 1.1rem; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 10px; }
.benefits-list li:last-child { border: none; }
.btn-block { display: block; width: 100%; }
.payment-methods { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; font-size: 0.85rem; color: #666; }

/* FAQ & FOOTER */
.faq-item { border-bottom: 1px solid #222; }
.faq-question { width: 100%; padding: 25px 0; background: none; border: none; color: #fff; text-align: left; font-size: 1.15rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: "+"; color: var(--primary); font-size: 1.8rem; transition: 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s; color: #aaa; padding-right: 40px; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 25px; }
.faq-item.active .faq-question::after { content: "-"; transform: rotate(180deg); }

.site-footer { border-top: 1px solid #1a1a1a; padding: 60px 0 30px; background: #080808; margin-top: 60px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: #fff; margin-bottom: 15px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #888; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid #1a1a1a; padding-top: 30px; color: #555; font-size: 0.85rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }

.mobile-sticky { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(5,5,5,0.95); padding: 15px; border-top: 1px solid #222; z-index: 999; backdrop-filter: blur(10px); }
.btn-full { display: block; width: 100%; text-align: center; }
@media (min-width: 769px) { .mobile-sticky { display: none; } }

.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(0, 230, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); } }
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }