/* ========================================
   BOOTCAMP AI - STYLES.CSS
   Optimizado para Performance y Conversión
   ======================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2E3440;
    --secondary: #5E81AC;
    --accent: #88C0D0;
    --dark: #1a1d24;
    --light: #ECEFF4;
    --white: #ffffff;
    --success: #A3BE8C;
    --warning: #EBCB8B;
    --code-bg: #F5F7FA;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === NAVEGACIÓN STICKY === */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-weight: 900;
    font-size: 18px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-cta {
    background: var(--accent);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #2E3440 0%, #3B4252 100%);
    color: var(--white);
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.03) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.03) 52%, transparent 52%);
    background-size: 60px 60px;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(136, 192, 208, 0.2);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid var(--accent);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    margin-bottom: 40px;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(136, 192, 208, 0.3);
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(136, 192, 208, 0.4);
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

.urgency-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
}

.urgency-icon {
    font-size: 18px;
}

#countdown-timer {
    color: var(--white);
    font-weight: 700;
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.trust-item strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 5px;
}

/* === DELIVERABLES SECTION === */
.deliverables-section {
    margin-top: 60px;
}

.deliverables-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.deliverable-card {
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid var(--accent);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.deliverable-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.12);
}

.deliverable-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.deliverable-card h3 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.deliverable-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

/* === LEAD MAGNET === */
.lead-magnet {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 20px;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-magnet h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
}

.lead-magnet-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lead-magnet-benefits li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 5px;
}

.lead-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.lead-form input[type="email"] {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--light);
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.lead-form input[type="email"]:focus {
    outline: none;
    border-color: var(--secondary);
}

.lead-form .cta-primary {
    width: 100%;
    margin-top: 10px;
}

.privacy-note {
    text-align: center;
    font-size: 13px;
    color: var(--primary);
    margin-top: 15px;
    opacity: 0.7;
}

/* === SECTIONS GENERALES === */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === FRAMEWORKS === */
.frameworks {
    background: var(--white);
    padding: 80px 20px;
}

.frameworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.framework-card {
    background: var(--light);
    padding: 35px;
    border-radius: 12px;
    border-top: 4px solid var(--secondary);
    transition: all 0.3s ease;
}

.framework-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.framework-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.framework-desc {
    margin-bottom: 20px;
    color: #555;
}

.framework-formula {
    background: var(--code-bg);
    padding: 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin: 20px 0;
    border-left: 3px solid var(--secondary);
    line-height: 1.8;
}

.framework-formula strong {
    color: var(--secondary);
}

.framework-impact {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* === ANTI-OBJECTIONS === */
.anti-objections {
    background: var(--light);
    padding: 80px 20px;
}

.objections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.objection-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.objection-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.objection-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.objection-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* === SESSIONS === */
.sessions {
    background: linear-gradient(to bottom, var(--white), var(--light));
    padding: 80px 20px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.session-card {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.session-card:hover {
    transform: translateY(-5px);
}

.session-bonus {
    border-left-color: var(--accent);
}

.session-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.session-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.session-card > p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.session-deliverable {
    background: var(--light);
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
}

.session-deliverable strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--dark);
    color: var(--white);
    padding: 80px 20px;
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.7;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.author-info strong {
    display: block;
    color: var(--accent);
    font-size: 16px;
}

.author-info span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.testimonial-metric {
    background: rgba(136, 192, 208, 0.1);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    border: 1px solid rgba(136, 192, 208, 0.2);
}

.testimonial-metric strong {
    color: var(--accent);
    font-size: 20px;
}

/* === INSTRUCTOR === */
.instructor {
    padding: 80px 20px;
    background: var(--light);
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.instructor-image-wrapper {
    position: relative;
}

.instructor-image {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.instructor-bio h3 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--primary);
}

.instructor-tagline {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.instructor-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.credentials-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.credentials-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.credential-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* === PRICING === */
.pricing {
    padding: 80px 20px;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border: 3px solid var(--secondary);
    transform: scale(1.05);
}

.pricing-featured:hover {
    transform: scale(1.07) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-tier {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.pricing-amount {
    margin-bottom: 15px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    vertical-align: top;
    color: var(--secondary);
}

.price {
    font-size: 56px;
    font-weight: 900;
    color: var(--secondary);
}

.period {
    font-size: 18px;
    font-weight: 600;
    color: #999;
}

.pricing-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.pricing-cta {
    display: block;
    background: var(--secondary);
    color: var(--white);
    padding: 16px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-cta:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.pricing-guarantee {
    max-width: 600px;
    margin: 60px auto 0;
    text-align: center;
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
}

.pricing-guarantee h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.pricing-guarantee p {
    font-size: 15px;
    color: #666;
}

/* === FAQ === */
.faq {
    padding: 80px 20px;
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    overflow: hidden;
}

.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding: 25px;
    cursor: pointer;
    list-style: none;
    transition: background 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: var(--light);
}

.faq-question::after {
    content: '+';
    float: right;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.7;
}

.faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 8px;
}

/* === LOGISTICS === */
.logistics {
    padding: 80px 20px;
    background: var(--white);
}

.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.logistics-card {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.logistics-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

.logistics-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.logistics-card p strong {
    display: block;
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 8px;
}

/* === FINAL CTA === */
.final-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.final-cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
}

.cta-large {
    font-size: 22px;
    padding: 22px 60px;
}

.final-urgency {
    margin-top: 30px;
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
}

.urgency-divider {
    margin: 0 10px;
    opacity: 0.5;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-location {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* === EXIT POPUP === */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exit-popup-content {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.exit-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: color 0.3s ease;
}

.exit-popup-close:hover {
    color: var(--primary);
}

.exit-popup-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary);
}

.exit-popup-content > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

.exit-form input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--light);
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
}

.exit-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.exit-form .cta-primary {
    width: 100%;
}

.exit-privacy {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 15px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
    }
    
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
    
    .lead-magnet-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .instructor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .instructor-image {
        margin: 0 auto;
    }
    
    .credentials-list li {
        justify-content: center;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        transform: scale(1);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .exit-popup-content {
        padding: 40px 30px;
    }
}

/* === UTILS === */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
