/* Custom Properties - Dark Premium Theme */
:root {
    --bg-dark: #0a0f18;
    --bg-darker: #05080c;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --color-crimson: #e61938;
    --color-gold: #f5c518;
    --color-cyan: #00e5ff;
    
    --text-main: #b4bed6;
    --text-white: #ffffff;
    --text-muted: #8892b0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-glow: 0 0 20px rgba(230, 25, 56, 0.2);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--text-white); margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; }
.h4-style { font-size: 1.2rem; font-weight: 700; color: var(--text-white); margin-bottom: 0.8rem; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-bottom: 1rem; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-darker { background-color: var(--bg-darker); }
.text-center { text-align: center; }
.text-crimson { color: var(--color-crimson); }
.text-gold { color: var(--color-gold); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.9rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-800 { max-width: 800px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* Buttons & Badges */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 8px;
    font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
    text-transform: uppercase; cursor: pointer; transition: var(--transition);
}
.btn-primary {
    background-color: var(--color-crimson); color: var(--text-white);
    box-shadow: 0 4px 15px rgba(230, 25, 56, 0.4); border: 1px solid var(--color-crimson);
}
.btn-primary:hover { background-color: transparent; color: var(--color-crimson); }
.badge {
    display: inline-block; padding: 6px 12px; background: rgba(245, 197, 24, 0.1);
    color: var(--color-gold); border: 1px solid rgba(245, 197, 24, 0.3);
    border-radius: 20px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1.5rem;
}

/* Glassmorphism & Boxes */
.glass-box {
    background: var(--bg-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass); border-radius: 16px; padding: 30px;
}
.alert-box { border-left: 4px solid var(--color-gold); background: rgba(245, 197, 24, 0.05); padding: 15px; font-size: 0.9rem; }
.border-gold { border-top: 3px solid var(--color-gold); }
.border-crimson { border-top: 3px solid var(--color-crimson); }

/* Header */
.app-header {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 15px 0;
    background: rgba(10, 15, 24, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}
.app-header.scrolled { padding: 10px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; }
.nav-menu { list-style: none; display: flex; gap: 2rem; }
.nav-menu a { font-size: 0.95rem; font-weight: 600; color: var(--text-white); }
.nav-menu a:hover { color: var(--color-crimson); }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 1001; }
.hamburger .line { display: block; width: 100%; height: 2px; background: var(--text-white); position: absolute; transition: var(--transition); }
.hamburger .line:nth-child(1) { top: 0; }
.hamburger .line:nth-child(2) { top: 9px; }
.hamburger .line:nth-child(3) { top: 18px; }
.hamburger.active .line:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active .line:nth-child(2) { opacity: 0; }
.hamburger.active .line:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 160px 0 80px; min-height: 90vh; display: flex; align-items: center; overflow: hidden;}
.hero-bg-glow {
    position: absolute; top: -10%; right: -5%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(230, 25, 56, 0.15), transparent 60%);
    filter: blur(60px); z-index: -1;
}
.floating-img { border-radius: 20px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.caption { font-size: 0.85rem; color: var(--text-muted); font-style: italic; text-align: center; margin-top: 15px; }

/* Data Grid (Resumen) */
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.data-card { background: var(--bg-glass); border: 1px solid var(--border-glass); padding: 20px; border-radius: 12px; }
.data-card.full-width { grid-column: 1 / -1; }
.bg-crimson-tint { background: linear-gradient(135deg, rgba(230, 25, 56, 0.05), transparent); border-color: rgba(230, 25, 56, 0.2); }
.data-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 5px; }
.data-value { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-white); font-weight: 600; }

/* Lists */
.custom-list, .step-list, .check-list, .bullet-list { padding-left: 0; list-style: none; }
.custom-list li, .step-list li, .check-list li, .bullet-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.custom-list li::before, .step-list li::before {
    content: '→'; position: absolute; left: 0; color: var(--color-crimson); font-weight: bold; font-family: var(--font-heading);
}
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-gold); font-weight: bold; }
.bullet-list li::before { content: '•'; position: absolute; left: 0; color: var(--color-cyan); font-size: 1.5rem; line-height: 0.8; }
.pros-list li::before { content: '+'; position: absolute; left: 0; color: #00e676; font-weight: bold; }
.cons-list li::before { content: '-'; position: absolute; left: 0; color: var(--color-crimson); font-weight: bold; }

/* Checklist Box */
.checklist-box { background: rgba(0, 229, 255, 0.03); border: 1px solid rgba(0, 229, 255, 0.1); padding: 30px; border-radius: 12px; }

/* Images & Visuals */
.rounded-img { border-radius: 16px; }
.shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.mockup-img { max-width: 80%; margin: 0 auto; border-radius: 20px; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5)); }

/* Simple Accordion inside Payments */
.accordion-simple details { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 8px; margin-bottom: 10px; }
.accordion-simple summary { padding: 15px 20px; font-weight: 600; color: var(--text-white); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.accordion-simple summary::after { content: '+'; color: var(--color-crimson); font-weight: bold; }
.accordion-simple details[open] summary::after { content: '-'; }
.details-content { padding: 0 20px 15px; font-size: 0.9rem; color: var(--text-muted); }

/* Evaluation Animated Bars */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-heading); font-weight: 600; color: var(--text-white); }
.progress-bar { width: 100%; height: 8px; background: var(--bg-glass); border-radius: 4px; overflow: hidden; }
.progress { height: 100%; background: linear-gradient(90deg, var(--color-crimson), var(--color-gold)); border-radius: 4px; width: 0; transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.skill-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 5px; }

/* Pros/Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pros-box, .cons-box { background: var(--bg-glass); padding: 30px; border-radius: 12px; }

/* Veredicto & FAQ */
.verdict-banner { background: linear-gradient(135deg, rgba(230,25,56,0.1), rgba(10,15,24,1)); border: 1px solid rgba(230,25,56,0.3); padding: 40px; border-radius: 16px; }
.accordion-item { border-bottom: 1px solid var(--border-glass); }
.accordion-header { width: 100%; padding: 20px 0; background: none; border: none; text-align: left; color: var(--text-white); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header .icon { color: var(--color-gold); font-size: 1.5rem; transition: var(--transition); }
.accordion-item.active .icon { transform: rotate(45deg); color: var(--color-crimson); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-item.active .accordion-content { padding-bottom: 20px; }

/* Footer */
.site-footer { padding: 60px 0 30px; border-top: 1px solid var(--border-glass); }
.footer-logo { height: 40px; opacity: 0.4; filter: grayscale(100%); transition: var(--transition); }
.footer-logo:hover { opacity: 1; filter: none; }
.copyright { font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* JS Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .pros-cons-grid { grid-template-columns: 1fr; gap: 3rem; }
    .reverse-mobile div:nth-child(1) { order: 2; }
    .reverse-mobile div:nth-child(2) { order: 1; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; }
    .hero-visual { order: 1; margin-bottom: 2rem; }
    .floating-img { max-width: 80%; margin: 0 auto; }
}

@media (max-width: 768px) {
    .desktop-nav {
        position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px);
        background: var(--bg-darker); flex-direction: column; justify-content: center;
        align-items: center; transition: var(--transition);
    }
    .desktop-nav.active { left: 0; }
    .nav-menu { flex-direction: column; text-align: center; gap: 2rem; }
    .nav-menu a { font-size: 1.2rem; }
    .hamburger { display: block; }
    
    h1 { font-size: 2.2rem; }
    .section-padding { padding: 60px 0; }
    .verdict-banner { padding: 20px; }
}