/*
 * Developer Introvertido - Landing Page Styles
 * Estética: Terminal Dark Mode / GitHub-inspired
 */

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    /* Colores principales */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #21262d;
    --bg-card-hover: #30363d;

    /* Colores de acento */
    --green-primary: #3fb950;
    --green-bright: #00ff41;
    --green-glow: rgba(63, 185, 80, 0.4);
    --amber: #d29922;
    --amber-glow: rgba(210, 153, 34, 0.3);
    --red: #f85149;
    --blue: #58a6ff;

    /* Texto */
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-dim: #6e7681;

    /* Bordes */
    --border-color: #30363d;
    --border-hover: #3fb950;

    /* Tipografías */
    --font-sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', 'Fira Code', 'Cascadia Code', Consolas, monospace;

    /* Espaciados - mobile first */
    --section-padding: 56px 16px;
    --container-max: 1100px;
    --container-wide: 1320px;
    --container-narrow: 800px;

    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

@media (min-width: 768px) {
    :root {
        --section-padding: 80px 24px;
    }
}

/* Fallback fonts con size-adjust para reducir CLS durante font swap */
@font-face {
    font-family: 'Inter Fallback';
    src: local('BlinkMacSystemFont'), local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'JetBrains Mono Fallback';
    src: local('Consolas'), local('Menlo'), local('Monaco'), local('Courier New');
    size-adjust: 113.5%;
    ascent-override: 78%;
    descent-override: 20%;
    line-gap-override: 0%;
}

/* ========================================
   RESET Y BASE
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Scanlines effect sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ========================================
   TIPOGRAFÍA
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(1.75rem, 6vw, 3.75rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.15rem, 3vw, 1.875rem);
}

@media (min-width: 1024px) {
    h1 { font-size: 3.75rem; }
    h2 { font-size: 2.75rem; }
    h3 { font-size: 1.875rem; }
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--green-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--green-bright);
    text-shadow: 0 0 10px var(--green-glow);
}

.mono { font-family: var(--font-mono); }
.text-green { color: var(--green-primary); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.text-dim { color: var(--text-dim); }
.text-secondary { color: var(--text-secondary); }

/* ========================================
   LAYOUT
======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container,
    .container-wide {
        padding: 0 24px;
    }
}

section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--bg-secondary);
}

/* ========================================
   NAVEGACIÓN
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .nav {
        background: rgba(13, 17, 23, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (min-width: 768px) {
    .nav {
        padding: 16px 24px;
    }
}

.nav-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-logo-img {
    height: 28px;
    width: auto;
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .nav-cta-btn {
    display: none;
}

@media (min-width: 768px) {
    .nav-actions .nav-cta-btn {
        display: inline-flex;
    }
}

/* Hamburger */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1003;
    position: relative;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
    transform-origin: center;
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    .nav-hamburger {
        display: none;
    }
}

/* Nav Links */
.nav-links {
    display: none;
    list-style: none;
}

.nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 1002;
    padding: 80px 24px 40px;
}

.nav-links.open li {
    list-style: none;
}

.nav-links.open a {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--text-primary);
}

.nav-links.open a:hover {
    color: var(--green-primary);
}

.nav-mobile-cta {
    display: none;
}

.nav-links.open .nav-mobile-cta {
    display: block;
    margin-top: 16px;
}

@media (min-width: 768px) {
    .nav-mobile-cta {
        display: none !important;
    }
    .nav-links {
        display: flex;
        gap: 32px;
    }

    .nav-links a {
        font-family: var(--font-mono);
        font-size: 0.875rem;
        color: var(--text-secondary);
        transition: var(--transition-fast);
    }

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

    .nav-links a.active {
        color: var(--green-primary);
    }
}

/* ========================================
   BOTONES
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
    .btn {
        padding: 14px 32px;
        font-size: 0.9rem;
    }
}

.btn-primary {
    background: var(--green-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--green-glow);
    color: var(--bg-primary);
    text-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 0.9rem;
    width: 100%;
}

@media (min-width: 480px) {
    .btn-large {
        width: auto;
        padding: 18px 48px;
        font-size: 1rem;
    }
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .btn-small {
        padding: 10px 20px;
    }
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 80px 16px 48px;
    position: relative;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 24px 80px;
    }
}

.hero-content {
    max-width: var(--container-wide);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    overflow: hidden;
}

@media (min-width: 1000px) {
    .hero-content {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 64px;
    }
}

.hero-text {
    text-align: center;
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 900px) {
    .hero-text {
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
        margin-bottom: 24px;
    }
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .hero h1 {
        margin-bottom: 20px;
    }
}

.hero h1 .highlight {
    color: var(--green-primary);
    position: relative;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 32px;
    }
}

@media (min-width: 900px) {
    .hero-subtitle {
        margin-left: 0;
        margin-right: auto;
    }
}

/* Hero Terminal Full */
.hero-terminal-full {
    margin: 24px 0;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-terminal-full {
        margin: 32px 0;
    }
}

.hero-terminal-full .terminal {
    margin: 0;
    max-width: 100%;
}

.hero-terminal-full .terminal-body {
    font-size: 0.65rem;
    padding: 12px;
}

@media (min-width: 480px) {
    .hero-terminal-full .terminal-body {
        font-size: 0.8rem;
        padding: 16px;
    }
}

@media (min-width: 900px) {
    .hero-terminal-full .terminal-body {
        font-size: 0.95rem;
        padding: 20px;
    }
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

@media (min-width: 480px) {
    .hero-ctas {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .hero-ctas {
        margin-bottom: 40px;
    }
}

@media (min-width: 900px) {
    .hero-ctas {
        justify-content: flex-start;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .hero-stats {
        gap: 24px;
        padding-top: 32px;
    }
}

.stat {
    text-align: center;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

@media (min-width: 1000px) {
    .stat {
        text-align: left;
        padding: 20px 24px;
    }
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 1.75rem;
    }
}

@media (min-width: 1000px) {
    .stat-value {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.85rem;
        margin-top: 8px;
    }
}

@media (min-width: 1000px) {
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Hero Book */
.hero-book {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

@media (min-width: 1000px) {
    .hero-book {
        order: 0;
    }
}

.book-mockup {
    max-width: 240px;
    width: 100%;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@media (min-width: 480px) {
    .book-mockup {
        max-width: 300px;
    }
}

@media (min-width: 1000px) {
    .book-mockup {
        max-width: 420px;
    }
}

@media (min-width: 1200px) {
    .book-mockup {
        max-width: 480px;
    }
}

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

/* ========================================
   TERMINAL / CODE BLOCKS
======================================== */
.terminal {
    display: block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    overflow-x: auto;
    margin: 20px auto;
    max-width: min(700px, 100%);
    text-align: left;
}

@media (min-width: 768px) {
    .terminal {
        margin: 24px auto;
    }
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .terminal-header {
        gap: 8px;
        padding: 12px 16px;
    }
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (min-width: 768px) {
    .terminal-dot {
        width: 12px;
        height: 12px;
    }
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .terminal-title {
        font-size: 0.75rem;
    }
}

.terminal-body {
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    line-height: 1.7;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 480px) {
    .terminal-body {
        font-size: 0.8rem;
        padding: 16px;
        line-height: 1.8;
    }
}

@media (min-width: 768px) {
    .terminal-body {
        font-size: 0.85rem;
        padding: 20px;
    }
}

.terminal-line {
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
}

.terminal-comment { color: var(--text-dim); }
.terminal-keyword { color: var(--amber); }
.terminal-string { color: var(--green-primary); }
.terminal-output { color: var(--green-bright); }

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--green-primary);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ========================================
   CARDS
======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .card {
        padding: 24px;
    }
}

.card:hover {
    border-color: var(--green-primary);
    background: var(--bg-card-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 16px;
    color: var(--green-primary);
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .card-icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--green-primary);
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .card-icon svg {
        width: 28px;
        height: 28px;
    }
}

.card:hover .card-icon {
    border-color: var(--green-primary);
    box-shadow: 0 0 20px var(--green-glow);
}

.card:hover .card-icon svg {
    stroke: var(--green-bright);
}

.card h3 {
    margin-bottom: 12px;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ========================================
   PROBLEMA SECTION
======================================== */
/* Problem slider - horizontal on mobile, grid on desktop */
.problem-slider-wrapper {
    margin: 24px 0;
    position: relative;
}

.problem-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
}

.problem-slider::-webkit-scrollbar {
    display: none;
}

.problem-slider-hint {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .problem-slider-wrapper {
        margin: 32px 0;
    }

    .problem-slider {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .problem-slider-hint {
        display: none;
    }
}

@media (min-width: 1100px) {
    .problem-slider {
        grid-template-columns: repeat(5, 1fr);
    }
}

.problem-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 14px;
    transition: border-color var(--transition-fast);
}

@media (min-width: 768px) {
    .problem-card {
        flex: none;
    }
}

.problem-card:hover {
    border-color: var(--red);
}

.problem-card .problem-icon {
    color: var(--red);
    font-size: 1rem;
    margin-right: 6px;
}

.problem-card strong {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.problem-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 8px 0 0 0;
}

/* Legacy problem-list (keep for compatibility) */
.problem-list {
    list-style: none;
    margin: 24px 0;
}

@media (min-width: 768px) {
    .problem-list {
        margin: 32px 0;
    }
}

.problem-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .problem-item {
        gap: 16px;
        padding: 20px 0;
    }
}

.problem-item:last-child {
    border-bottom: none;
}

.problem-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--red);
    font-size: 1.25rem;
}

.problem-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.problem-text strong {
    color: var(--text-primary);
}

/* ========================================
   SOLUCIÓN / INSIGHT SECTION
======================================== */
.insight-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--green-primary);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .insight-box {
        padding: 40px;
        margin: 40px 0;
    }
}

.insight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-primary), var(--green-bright));
}

.insight-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .insight-quote {
        font-size: 1.25rem;
    }
}

.insight-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .insight-sub {
        font-size: 1rem;
    }
}

.insight-author {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-dim);
}

/* ========================================
   AUTOR SECTION
======================================== */
.author-section {
    padding: var(--section-padding);
}

.author-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .author-card {
        grid-template-columns: 200px 1fr;
        gap: 40px;
    }
}

.author-image {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid var(--green-primary);
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .author-image {
        width: 200px;
        height: 200px;
    }
}

@media (min-width: 900px) {
    .author-image {
        width: 240px;
        height: 240px;
    }
}

.author-info h3 {
    margin-bottom: 8px;
}

.author-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.author-bio {
    color: var(--text-secondary);
    line-height: 1.8;
}

.author-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.credential {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.credential-icon {
    color: var(--green-primary);
}

/* ========================================
   CONTENIDO DEL LIBRO - TOC BLOCKS
======================================== */
.toc-section {
    padding: var(--section-padding);
}

.toc-blocks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .toc-blocks {
        gap: 20px;
        margin: 40px 0;
    }
}

.toc-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .toc-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.toc-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition-fast);
}

.toc-block:hover {
    border-color: var(--green-primary);
}

.toc-block-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.toc-block-number {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-primary);
    min-width: 32px;
}

.toc-block-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.toc-block-chapters {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
}

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

.toc-block-list li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.toc-block-list li::before {
    content: '>';
    color: var(--green-primary);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.toc-block-bonus {
    border-color: var(--amber);
}

.toc-block-bonus .toc-block-number {
    color: var(--amber);
}

.toc-block-bonus .toc-block-list li::before {
    color: var(--amber);
}

@media (min-width: 1024px) {
    .toc-block-bonus {
        grid-column: span 2;
    }

    .toc-block-bonus .toc-block-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 24px;
    }
}

/* ========================================
   SCRIPTS GRID (Landing preview)
======================================== */
.scripts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .scripts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .scripts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.script-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: var(--transition-fast);
}

.script-card:hover {
    border-color: var(--green-primary);
}

.script-card-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.script-card .terminal-compact {
    margin-bottom: 12px;
}

.script-card .terminal-compact .terminal-body {
    padding: 12px;
}

.script-card .terminal-compact .terminal-line {
    font-size: 0.8rem;
    line-height: 1.5;
}

.script-card-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin: 0;
}

.script-card-note::before {
    content: '→ ';
    color: var(--green-primary);
}

/* Script CTA card */
.script-card-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-secondary);
    border-style: dashed;
}

.script-card-cta-content {
    margin-bottom: 16px;
}

.script-card-cta-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-primary);
}

.script-card-cta-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Legacy script-preview (keep for compatibility) */
.script-preview {
    background: var(--bg-card);
    border-left: 3px solid var(--green-primary);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

@media (min-width: 768px) {
    .script-preview {
        padding: 20px 24px;
        margin: 24px 0;
    }
}

.script-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .script-label {
        font-size: 0.7rem;
        margin-bottom: 12px;
    }
}

.script-text {
    font-style: italic;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .script-text {
        font-size: 1rem;
    }
}

.script-note {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ========================================
   PRICING SECTION
======================================== */
.pricing-section {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-top: 48px;
    }
}

@media (min-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 32px 24px;
    }
}

.pricing-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--green-primary);
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(63, 185, 80, 0.05) 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-primary);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .pricing-badge {
        font-size: 0.7rem;
    }
}

.pricing-name {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .pricing-name {
        font-size: 0.8rem;
    }
}

.pricing-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .pricing-title {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
}

.pricing-price {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .pricing-price {
        margin-bottom: 24px;
    }
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-primary);
}

@media (min-width: 768px) {
    .price-current {
        font-size: 2.5rem;
    }
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-decoration: line-through;
    margin-left: 8px;
}

@media (min-width: 768px) {
    .price-original {
        font-size: 1rem;
    }
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px;
    flex: 1;
}

@media (min-width: 768px) {
    .pricing-features {
        margin-bottom: 24px;
    }
}

.pricing-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.825rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

@media (min-width: 768px) {
    .pricing-features li {
        padding: 8px 0;
        font-size: 0.875rem;
        gap: 10px;
    }
}

.pricing-features li::before {
    content: '\2713';
    color: var(--green-primary);
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-dim);
}

.pricing-features li.disabled::before {
    content: '\2014';
    color: var(--text-dim);
}

.pricing-cta {
    margin-top: auto;
}

.pricing-cta form {
    width: 100%;
}

.pricing-cta .btn {
    width: 100%;
}

.pricing-roi {
    text-align: center;
    margin-top: 48px;
    color: var(--text-secondary);
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .pricing-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

.pricing-guarantee-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    border-radius: 50%;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bg-primary);
    text-align: center;
    line-height: 1.2;
}

.pricing-guarantee p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-guarantee strong {
    color: var(--text-primary);
}

/* ========================================
   GARANTÍA SECTION
======================================== */
.guarantee-section {
    padding: 48px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.guarantee-block {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .guarantee-block {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.guarantee-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    border-radius: 50%;
    color: #fff;
}

.guarantee-badge-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.guarantee-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.guarantee-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.guarantee-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.guarantee-note {
    margin-top: 8px !important;
    font-size: 0.875rem !important;
    color: var(--text-dim) !important;
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
    padding: var(--section-padding);
    padding-bottom: 0;
}

.faq-bridge {
    text-align: center;
    padding: 48px 16px 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.faq-bridge .bridge-arrow {
    display: block;
    font-size: 1.5rem;
    margin-top: 12px;
    color: var(--green-primary);
    animation: bridgePulse 2s ease-in-out infinite;
}

@keyframes bridgePulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(6px); }
}

.faq-list {
    margin-top: 32px;
}

@media (min-width: 768px) {
    .faq-list {
        margin-top: 40px;
    }
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    gap: 12px;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
    .faq-question {
        padding: 24px 0;
    }
}

.faq-question h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

@media (min-width: 768px) {
    .faq-question h4 {
        font-size: 1rem;
    }
}

.faq-icon {
    color: var(--text-dim);
    font-size: 1.25rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--green-primary);
}

.faq-answer {
    display: none;
    padding-bottom: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .faq-answer {
        padding-bottom: 24px;
    }
}

.faq-item.active .faq-answer {
    display: block;
}

/* ========================================
   JOURNEY FINAL
======================================== */
.journey-section {
    padding: 0;
    background: var(--bg-primary);
}

/* Journey highlight block - matches nl-cta-section style */
.journey-highlight {
    padding: 64px 0 80px;
    background: var(--bg-secondary);
    border-top: 2px solid var(--green-primary);
    position: relative;
    overflow: hidden;
}

.journey-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(63, 185, 80, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.journey-highlight .container {
    position: relative;
    z-index: 1;
}

.journey-h2 {
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
    line-height: 1.15;
}

.journey-step {
    max-width: 900px;
    margin: 0 auto 64px;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.journey-terminal-step {
    max-width: 560px;
}

.journey-terminal-step .terminal {
    margin-top: 0;
}

/* Labels */
.journey-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-primary);
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .journey-label {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }
}

/* ===== PATHS ===== */
.journey-paths {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

@media (min-width: 768px) {
    .journey-paths {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }
}

.journey-path {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .journey-path {
        padding: 28px;
        border-radius: 12px 0 0 12px;
    }

    .path-right {
        border-radius: 0 12px 12px 0;
    }
}

/* Path left dimmed */
.path-left {
    opacity: 0.7;
}

.path-left:hover {
    opacity: 1;
}

/* Path right highlighted */
.path-right {
    border-color: var(--green-primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(63, 185, 80, 0.08) 100%);
}

.path-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.path-right .path-icon {
    color: var(--green-primary);
    opacity: 1;
}

.journey-path h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.path-left h3 {
    color: var(--text-dim);
}

.path-right h3 {
    color: var(--text-primary);
}

.journey-path ul {
    list-style: none;
    margin-bottom: 16px;
}

.journey-path li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.path-left li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--red);
    opacity: 0.6;
}

.path-right li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

.path-cost {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.path-left .path-cost {
    color: var(--red);
    opacity: 0.7;
}

.path-right .path-cost {
    color: var(--green-primary);
    font-weight: 600;
}

.journey-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    transition: all 0.5s ease;
}

@media (min-width: 768px) {
    .journey-divider {
        width: 60px;
        flex-shrink: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 0;
    }
}

.journey-divider span {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: lowercase;
}

/* ===== FINAL OPTIONS ===== */
.journey-final-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

@media (min-width: 600px) {
    .journey-final-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.journey-option {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.journey-option.highlighted {
    border-color: var(--green-primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(63, 185, 80, 0.08) 100%);
}

.option-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.option-free .option-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.option-full .option-tag {
    background: rgba(63, 185, 80, 0.2);
    color: var(--green-primary);
}

.journey-option h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.journey-option p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.journey-option .btn {
    width: 100%;
    margin-bottom: 8px;
}

.journey-option form {
    width: 100%;
}

.option-note {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.journey-closing {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    padding: 32px 16px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        padding: 40px 24px;
    }
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
}

@media (min-width: 768px) {
    .footer-logo {
        margin-bottom: 16px;
    }

    .footer-logo-img {
        height: 32px;
    }
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer-links {
        gap: 24px;
        margin-bottom: 24px;
    }
}

.footer-links a {
    font-size: 0.825rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .footer-links a {
        font-size: 0.875rem;
    }
}

.footer-links a:hover {
    color: var(--green-primary);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .footer-legal {
        gap: 24px;
        margin-bottom: 20px;
    }
}

.footer-legal a {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color var(--transition-fast);
}

@media (min-width: 768px) {
    .footer-legal a {
        font-size: 0.8rem;
    }
}

.footer-legal a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .footer-copy {
        font-size: 0.75rem;
    }
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 48px;
    }
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .section-label {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
}

.section-header h2 {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .section-header h2 {
        margin-bottom: 16px;
    }
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   UTILITIES
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }

.hidden {
    display: none;
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Scroll reveal - only hide when JS is ready */
.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready [data-reveal].revealed,
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   GRACIAS PAGE (Post-compra)
======================================== */
.gracias-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.gracias-logo {
    height: 32px;
    width: auto;
}

@media (min-width: 768px) {
    .gracias-header {
        padding: 24px 40px;
    }
    .gracias-logo {
        height: 38px;
    }
}

.gracias-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 16px 64px;
    text-align: center;
}

@media (min-width: 768px) {
    .gracias-page {
        padding: 64px 24px 80px;
    }
}

.gracias-icon {
    width: 64px;
    height: 64px;
    background: var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    color: var(--bg-primary);
}

@media (min-width: 768px) {
    .gracias-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 32px;
        font-size: 2.5rem;
    }
}

.gracias-content {
    max-width: 680px;
    width: 100%;
}

.gracias-content h1 {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .gracias-content h1 {
        margin-bottom: 16px;
    }
}

.gracias-subtitle {
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .gracias-subtitle {
        margin-bottom: 32px;
    }
}

.gracias-content p {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .gracias-content p {
        margin-bottom: 32px;
    }
}

.gracias-mentoria-box {
    background: var(--bg-card);
    border: 1px solid var(--green-primary);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .gracias-mentoria-box {
        padding: 32px;
        margin-top: 32px;
    }
}

.download-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .download-box {
        padding: 32px;
        margin-top: 32px;
    }
}

.download-box h3 {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .download-box h3 {
        margin-bottom: 24px;
    }
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 400px) {
    .download-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ========================================
   SOLUCIÓN SECTION - ENHANCED
======================================== */
.results-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .results-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin: 48px 0;
    }
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .result-card {
        padding: 28px;
        gap: 16px;
    }
}

.result-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-2px);
}

.result-card.featured {
    border-color: var(--green-primary);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(63, 185, 80, 0.08) 100%);
}

.result-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .result-icon {
        font-size: 2rem;
    }
}

.result-content {
    flex: 1;
}

.result-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .result-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .result-label {
        font-size: 0.9rem;
    }
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 48px 0;
    }
}

.benefit-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-fast);
}

@media (min-width: 768px) {
    .benefit-item {
        gap: 16px;
        padding: 20px;
    }
}

.benefit-item:hover {
    border-color: var(--green-primary);
}

.benefit-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(63, 185, 80, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-weight: 600;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .benefit-check {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

.benefit-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .benefit-text {
        font-size: 0.95rem;
    }
}

.benefit-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

/* Comparison Block */
.comparison-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px 20px;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .comparison-block {
        padding: 40px;
        margin: 48px 0;
    }
}

.comparison-block h3 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .comparison-block h3 {
        margin-bottom: 32px;
        font-size: 1.25rem;
    }
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 700px) {
    .comparison-grid {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
}

.comparison-col {
    flex: 1;
    max-width: 280px;
    width: 100%;
}

.comparison-header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .comparison-header {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .comparison-list li {
        gap: 12px;
        padding: 10px 0;
        font-size: 0.95rem;
    }
}

.step-num {
    width: 22px;
    height: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--green-primary);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .step-num {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

.comparison-arrow {
    font-size: 1.5rem;
    color: var(--green-primary);
    transform: rotate(90deg);
}

@media (min-width: 700px) {
    .comparison-arrow {
        font-size: 2rem;
        transform: none;
    }
}

.tag-easy {
    background: rgba(63, 185, 80, 0.15);
    color: var(--green-primary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

@media (min-width: 768px) {
    .tag-easy {
        font-size: 0.7rem;
        padding: 2px 8px;
        margin-left: 8px;
    }
}

/* Differentiators */
.differentiators {
    margin: 32px 0;
}

@media (min-width: 768px) {
    .differentiators {
        margin: 48px 0;
    }
}

.differentiators h3 {
    text-align: center;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .differentiators h3 {
        margin-bottom: 32px;
    }
}

.differentiators .card h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .differentiators .card h4 {
        margin-bottom: 12px;
        font-size: 1.1rem;
    }
}

/* CTA Inline */
.cta-inline {
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .cta-inline {
        margin-top: 48px;
        padding-top: 48px;
    }
}

.cta-note {
    margin-top: 12px;
    font-size: 0.825rem;
    color: var(--text-dim);
}

@media (min-width: 768px) {
    .cta-note {
        margin-top: 16px;
        font-size: 0.875rem;
    }
}

/* ========================================
   AUTHOR SECTION - NEW LAYOUT
======================================== */
.author-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 900px) {
    .author-layout {
        grid-template-columns: 280px 1fr;
        gap: 64px;
    }
}

.author-left {
    text-align: center;
}

@media (min-width: 900px) {
    .author-left {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.author-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .author-image-wrapper {
        margin-bottom: 32px;
    }
}

.author-badge-verified {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--green-primary);
    color: var(--bg-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 3px solid var(--bg-primary);
}

@media (min-width: 768px) {
    .author-badge-verified {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.author-social a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

@media (min-width: 768px) {
    .author-social a {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

.author-social a:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.author-details h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .author-details h3 {
        font-size: 1.75rem;
    }
}

.author-handle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--green-primary);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .author-handle {
        font-size: 1rem;
        margin-bottom: 32px;
    }
}

.author-story {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .author-story {
        margin-bottom: 32px;
    }
}

.author-story p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .author-story p {
        line-height: 1.8;
        margin-bottom: 16px;
        font-size: 1.05rem;
    }
}

.author-story p:last-child {
    margin-bottom: 0;
}

.author-story p strong {
    color: var(--red);
}

.author-highlight {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(63, 185, 80, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--green-primary);
    border-radius: 0 8px 8px 0;
    padding: 18px 20px;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .author-highlight {
        padding: 24px;
        margin: 24px 0;
    }
}

.author-highlight p {
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .author-highlight p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

.author-credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

@media (min-width: 900px) {
    .author-credentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.credential-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

@media (min-width: 768px) {
    .credential-item {
        padding: 16px;
    }
}

.credential-value {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 2px;
}

@media (min-width: 768px) {
    .credential-value {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
}

.credential-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .credential-label {
        font-size: 0.75rem;
    }
}

/* Author Timeline Compact */
.author-timeline-compact {
    text-align: left;
}

.timeline-item-compact {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .timeline-item-compact {
        gap: 12px;
        padding: 10px 0;
    }
}

.timeline-item-compact:last-child {
    border-bottom: none;
}

.timeline-item-compact.featured {
    background: rgba(63, 185, 80, 0.1);
    margin: 8px -10px 0;
    padding: 10px;
    border-radius: 8px;
    border-bottom: none;
}

@media (min-width: 768px) {
    .timeline-item-compact.featured {
        margin: 8px -12px 0;
        padding: 12px;
    }
}

.timeline-year-compact {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--amber);
    min-width: 36px;
}

@media (min-width: 768px) {
    .timeline-year-compact {
        font-size: 0.75rem;
        min-width: 40px;
    }
}

.timeline-text-compact {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .timeline-text-compact {
        font-size: 0.85rem;
    }
}

.timeline-item-compact.featured .timeline-text-compact {
    color: var(--green-primary);
    font-weight: 500;
}

/* Author Right */
.author-right {}

.author-name {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .author-name {
        font-size: 2rem;
        margin-bottom: 8px;
    }
}

/* Author Proof - full width block */
.author-proof {
    margin-top: 48px;
}

@media (min-width: 768px) {
    .author-proof {
        margin-top: 56px;
    }
}

.author-proof-text {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .author-proof-text {
        font-size: 1.05rem;
        line-height: 1.8;
    }
}

/* Author Speaker Proof */
.author-speaker-proof {
    margin: 0 auto 32px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.author-speaker-image {
    width: 100%;
    height: auto;
    display: block;
}

.author-speaker-caption {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

/* Author Proof Achievements - horizontal grid */
.author-proof-achievements {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .author-proof-achievements {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .author-proof-achievements {
        grid-template-columns: repeat(4, 1fr);
    }
}

.proof-achievement-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--bg-card);
}

.proof-achievement-item .achievement-year {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-primary);
}

@media (min-width: 900px) {
    .proof-achievement-item .achievement-year {
        font-size: 1.2rem;
    }
}

.proof-achievement-item .achievement-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Author Achievements (legacy) */
.author-achievements {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .author-achievements {
        padding: 24px;
        margin-bottom: 32px;
    }
}

.author-achievements h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .author-achievements h4 {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

.achievements-list {
    list-style: none;
}

.achievements-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .achievements-list li {
        gap: 16px;
        padding: 12px 0;
    }
}

.achievements-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.achievement-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    min-width: 40px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .achievement-year {
        font-size: 0.8rem;
        min-width: 45px;
    }
}

.achievement-text {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

@media (min-width: 768px) {
    .achievement-text {
        font-size: 0.9rem;
    }
}


/* ========================================
   STORYTELLING ELEMENTS
======================================== */

/* Story Block */
.story-block {
    max-width: 700px;
    margin: 0 auto 32px;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .story-block {
        margin-bottom: 48px;
        padding: 40px;
    }
}

.story-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .story-text {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 16px;
    }
}

.story-text:last-child {
    margin-bottom: 0;
}

.story-text.highlight-text {
    color: var(--green-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .story-text.highlight-text {
        font-size: 1.25rem;
    }
}

.story-text.dim {
    color: var(--text-dim);
    font-style: italic;
}

.story-text em {
    color: var(--text-primary);
}

/* Cost Block */
.cost-block {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .cost-block {
        margin-top: 48px;
        padding-top: 48px;
    }
}

.cost-block h3 {
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .cost-block h3 {
        margin-bottom: 24px;
    }
}

.cost-note {
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .cost-note {
        margin-top: 24px;
        font-size: 1.1rem;
    }
}

.cost-note strong {
    color: var(--text-primary);
    display: block;
    margin-top: 8px;
}

/* Key Insight */
.key-insight {
    max-width: 750px;
    margin: 0 auto 32px;
}

@media (min-width: 768px) {
    .key-insight {
        margin-bottom: 48px;
    }
}

.insight-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

@media (min-width: 768px) {
    .insight-intro {
        font-size: 1.15rem;
        line-height: 1.8;
        margin-bottom: 16px;
    }
}

.insight-intro.highlight-text {
    color: var(--amber);
    font-weight: 500;
}

/* Learn Section */
.learn-section {
    margin: 48px 0;
}

@media (min-width: 768px) {
    .learn-section {
        margin: 64px 0;
    }
}

.learn-section h3 {
    text-align: center;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .learn-section h3 {
        margin-bottom: 12px;
    }
}

.learn-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .learn-intro {
        margin-bottom: 32px;
    }
}

/* Comparison Intro */
.comparison-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .comparison-intro {
        margin-bottom: 32px;
    }
}

/* Differentiators Intro */
.diff-intro {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .diff-intro {
        margin-bottom: 32px;
    }
}

/* Problem list enhanced */
.problem-list .problem-text {
    flex: 1;
}

.problem-list .problem-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .problem-list .problem-text strong {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }
}

.problem-list .problem-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .problem-list .problem-text p {
        font-size: 0.95rem;
    }
}

/* Author Timeline (legacy) */
.author-timeline {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .author-timeline {
        margin-top: 40px;
        padding-top: 40px;
    }
}

.author-timeline h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .author-timeline h4 {
        font-size: 1rem;
        margin-bottom: 24px;
    }
}

.timeline-items {
    position: relative;
    padding-left: 24px;
}

.timeline-items::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--green-primary);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    margin-bottom: 4px;
}

.timeline-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline-text strong {
    color: var(--text-primary);
}

/* ========================================
   MOBILE NAV BODY LOCK
======================================== */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ========================================
   NEWSLETTER CTA - Script Gratuito
======================================== */
.nl-cta-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    border-top: 2px solid var(--green-primary);
    position: relative;
    overflow: hidden;
}

.nl-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(63, 185, 80, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.nl-cta-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .nl-cta-wrapper {
        grid-template-columns: 1fr 360px;
        gap: 60px;
    }
}

/* Badge */
.nl-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(63, 185, 80, 0.15);
    border: 1px solid var(--green-primary);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-primary);
    margin-bottom: 20px;
}

.nl-cta-badge-icon {
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

/* Headline */
.nl-cta-headline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.nl-cta-context {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dim);
    font-style: normal;
}

.nl-cta-quote {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--red);
    font-style: italic;
}

.nl-cta-subhead {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--text-primary);
}

/* Value prop */
.nl-cta-value {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.nl-cta-value strong {
    color: var(--text-primary);
}

/* Form inline */
.nl-cta-form-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.nl-cta-btn {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.nl-cta-trust {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Document preview */
.nl-cta-preview {
    display: flex;
    justify-content: center;
}

.nl-cta-doc {
    width: 100%;
    max-width: 340px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.nl-cta-doc:hover {
    transform: rotate(0deg) scale(1.02);
}

.nl-cta-doc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.nl-cta-doc-dots {
    display: flex;
    gap: 6px;
}

.nl-cta-doc-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.nl-cta-doc-dots span:first-child { background: #ff5f56; }
.nl-cta-doc-dots span:nth-child(2) { background: #ffbd2e; }
.nl-cta-doc-dots span:last-child { background: #27ca40; }

.nl-cta-doc-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.nl-cta-doc-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nl-cta-doc-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nl-cta-doc-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: 0.5px;
}

.nl-cta-doc-item {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.nl-cta-doc-footer {
    padding: 12px 16px;
    background: linear-gradient(90deg, var(--green-primary), var(--green-secondary));
    text-align: center;
}

.nl-cta-doc-free {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bg-primary);
    letter-spacing: 2px;
}

/* Newsletter overlay */
.nl-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nl-overlay.active {
    display: flex;
    opacity: 1;
}

.nl-popup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.nl-overlay.active .nl-popup {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .nl-popup {
        padding: 48px 40px;
    }
}

.nl-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.nl-close:hover {
    color: var(--text-primary);
}

.nl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--green-primary);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.nl-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--green-primary);
    border-radius: 50%;
}

.nl-title {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .nl-title {
        font-size: 1.5rem;
    }
}

.nl-title-sub {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 4px;
}

@media (min-width: 768px) {
    .nl-title-sub {
        font-size: 1.05rem;
    }
}

.nl-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.nl-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nl-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.nl-input:focus {
    border-color: var(--green-primary);
}

.nl-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.nl-submit {
    white-space: nowrap;
    flex-shrink: 0;
}

.nl-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.nl-privacy {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Popup title quote styling */
.nl-title-quote {
    display: block;
    font-size: 1.4rem;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .nl-title-quote {
        font-size: 1.6rem;
    }
}

/* Popup preview */
.nl-popup-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
    text-align: left;
}

.nl-popup-preview-item {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 6px 0;
}

.nl-popup-preview-item + .nl-popup-preview-item {
    border-top: 1px solid var(--border-color);
}

.nl-popup-preview-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    min-width: 80px;
}

.nl-popup-preview-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.nl-error {
    margin-top: 12px;
    font-size: 0.8rem;
    color: #ef4444;
    font-family: var(--font-mono);
}

.nl-success-icon {
    width: 64px;
    height: 64px;
    background: var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-primary);
    font-family: var(--font-mono);
}

.nl-success-state .nl-title {
    margin-bottom: 16px;
}

.nl-success-state .nl-desc {
    margin-bottom: 0;
}

/* ========================================
   SCRIPT PAGE (es-muy-caro)
======================================== */

.script-context {
    background: var(--bg-card);
    border-left: 3px solid var(--text-secondary);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-style: italic;
}

.script-full-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

@media (min-width: 768px) {
    .script-full-block {
        padding: 32px;
    }
}

.script-full-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.script-full-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

.script-full-text {
    border: none;
    margin: 0;
    padding: 0;
    font-style: normal;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.script-why-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 28px;
    margin-bottom: 4px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.script-why-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.script-why-list li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.script-why-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

.script-why-list li strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* Errors cards (2x2 grid) */
.script-errors-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .script-errors-cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.script-error-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

@media (min-width: 768px) {
    .script-error-card {
        padding: 28px;
    }
}

.script-error-card-number {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.script-error-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .script-error-card h3 {
        font-size: 1.3rem;
    }
}

.script-error-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0 0 8px;
}

.script-error-card-rule {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.script-error-card-rule strong {
    color: var(--green-primary);
}

/* Comparison table */
.script-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 600px) {
    .script-comparison {
        grid-template-columns: 1fr 1fr;
    }
}

.script-comparison-col {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .script-comparison-col {
        padding: 24px;
    }
}

.script-comparison-header {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .script-comparison-header {
        font-size: 1.3rem;
    }
}

.script-comparison-col.bad .script-comparison-header {
    color: #ef4444;
}

.script-comparison-col.good .script-comparison-header {
    color: var(--green-primary);
}

.script-comparison-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.script-comparison-col ul li {
    font-size: 0.875rem;
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.script-comparison-col ul li strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.script-comparison-col ul li span {
    display: block;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-dim);
}

.script-comparison-col.bad ul li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
}

.script-comparison-col.good ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-primary);
}

/* Script page hero */
.script-hero {
    padding: 100px 16px 48px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .script-hero {
        padding: 120px 24px 56px;
    }
}

.script-hero-content {
    max-width: var(--container-wide);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .script-hero-content {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 48px;
    }
}

.script-hero-text {
    text-align: center;
    min-width: 0;
}

@media (min-width: 900px) {
    .script-hero-text {
        text-align: left;
    }
}

.script-hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .script-hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1000px) {
    .script-hero-text h1 {
        font-size: 2.75rem;
    }
}

.script-hero-text .hero-subtitle {
    max-width: 520px;
}

@media (min-width: 900px) {
    .script-hero-text .hero-subtitle {
        margin-left: 0;
    }

    .script-hero-text .hero-ctas {
        justify-content: flex-start;
    }
}

.script-hero-terminal {
    order: -1;
}

@media (min-width: 900px) {
    .script-hero-terminal {
        order: 0;
    }
}

.script-hero-terminal .terminal {
    margin: 0;
    max-width: 100%;
}

.script-hero-terminal .terminal-body {
    font-size: 0.7rem;
    padding: 14px;
}

@media (min-width: 480px) {
    .script-hero-terminal .terminal-body {
        font-size: 0.82rem;
        padding: 18px;
    }
}

@media (min-width: 900px) {
    .script-hero-terminal .terminal-body {
        font-size: 0.9rem;
        padding: 20px;
    }
}

.script-hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 480px) {
    .script-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .script-hero-stats {
        gap: 24px;
        margin-top: 48px;
        padding-top: 40px;
    }
}

/* Sticky sub-nav (script page) */
.script-subnav {
    z-index: 999;
    background: rgba(13, 17, 23, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.script-subnav.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* top is set by JS to match nav height */
}

.script-subnav-placeholder {
    display: none;
}

.script-subnav-placeholder.is-active {
    display: block;
}

.script-subnav-links {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.script-subnav-links::-webkit-scrollbar {
    display: none;
}

.script-subnav-link {
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

@media (min-width: 768px) {
    .script-subnav-link {
        padding: 14px 20px;
        font-size: 0.8rem;
    }
}

.script-subnav-link:hover {
    color: var(--text-primary);
}

.script-subnav-link.active {
    color: var(--green-primary);
    border-bottom-color: var(--green-primary);
}

/* Script CTA final (distinct background) */
.script-cta-final {
    padding: 48px 16px 72px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, rgba(63, 185, 80, 0.06) 100%);
    border-top: 2px solid var(--green-primary);
}

@media (min-width: 768px) {
    .script-cta-final {
        padding: 64px 24px 100px;
    }
}

.script-cta-final h2 {
    margin-bottom: 24px;
}

.script-cta-scenarios {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.script-cta-scenarios li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.script-cta-scenarios li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 600;
}

.script-cta-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .script-cta-layout {
        flex-direction: row;
        gap: 48px;
        align-items: center;
    }
}

.script-cta-text {
    flex: 1;
    text-align: left;
}

.script-cta-image {
    flex-shrink: 0;
    width: 220px;
    order: -1;
}

@media (min-width: 768px) {
    .script-cta-image {
        width: 260px;
        order: 0;
    }
}

.script-cta-book {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
}

/* Sub-tabs (inside Variantes: freelance / salario / IA) */
.script-tabs {
    margin-top: 24px;
}

.script-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.script-tab {
    background: none;
    border: none;
    padding: 14px 24px;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.script-tab:hover {
    color: var(--text-primary);
}

.script-tab.active {
    color: var(--green-primary);
    border-bottom-color: var(--green-primary);
}

.script-tab-content {
    display: none;
}

.script-tab-content.active {
    display: block;
}

/* Terminal wide variant (no max-width) */
.terminal-wide {
    max-width: none;
}

/* Terminal paragraph (flowing text, no forced line breaks) */
.terminal-paragraph {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0 0 12px;
    line-height: 1.7;
}

.terminal-paragraph:last-child {
    margin-bottom: 0;
}

/* Copy button in terminal */
.script-copy-btn {
    margin-left: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.script-copy-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.script-copy-btn.copied {
    color: var(--green-primary);
    border-color: var(--green-primary);
}

/* Prompt terminal header - flex for copy button alignment */
.script-prompt-terminal .terminal-header {
    display: flex;
    align-items: center;
}

/* Bonus prompts */
.script-prompt-block {
    margin-bottom: 40px;
}

/* ========================================
   HERO - STATS UNDER BOOK IMAGE
======================================== */
.hero-book {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-book .hero-stats {
    margin-top: 24px;
    padding-top: 0;
    border-top: none;
}

@media (min-width: 1000px) {
    .hero-book .hero-stats {
        margin-top: 32px;
    }
}

/* ========================================
   TOC EXPAND BUTTONS
======================================== */
.toc-block-expand {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

.toc-expand-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color var(--transition-fast);
}

.toc-expand-btn:hover {
    color: var(--green-primary);
}

.toc-expand-icon {
    transition: transform var(--transition-fast);
}

.toc-expand-btn.active .toc-expand-icon {
    transform: rotate(45deg);
}

.toc-expand-content {
    display: none;
    margin-top: 12px;
    padding-left: 8px;
    border-left: 2px solid var(--border-color);
}

.toc-expand-content.active {
    display: block;
}

.toc-chapter {
    padding: 6px 0 6px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.toc-chapter-num {
    font-family: var(--font-mono);
    color: var(--green-primary);
    font-size: 0.75rem;
    margin-right: 8px;
}

/* TOC Bonus improvements */
.toc-bonus-intro {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.toc-bonus-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

@media (min-width: 768px) {
    .toc-bonus-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px 24px;
    }
}

.toc-bonus-list li strong {
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

/* ========================================
   SCRIPTS LIST (simple, no terminal)
======================================== */
.scripts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.script-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: border-color var(--transition-fast);
}

.script-item:hover {
    border-color: var(--green-primary);
}

.script-item-situation {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.script-item-quote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
    padding: 0;
    border: none;
}

.script-item-result {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 12px;
    margin-bottom: 0;
}

.script-item-result::before {
    content: '→ ';
    color: var(--green-primary);
}

.scripts-cta {
    text-align: center;
    margin-top: 32px;
}

.scripts-cta-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ========================================
   HERO - RESTRUCTURED (Story-first)
======================================== */
.hero-content-centered {
    grid-template-columns: 1fr !important;
    max-width: var(--container-max);
    text-align: center;
}

@media (min-width: 900px) {
    .hero-content-centered .hero-text {
        text-align: center;
    }
}

.hero-content-centered .hero-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 900px) {
    .hero-content-centered .hero-ctas {
        justify-content: center;
    }
}

/* Mini bio */
.hero-mini-bio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 28px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .hero-mini-bio {
        font-size: 0.8rem;
        gap: 4px 12px;
        margin-bottom: 32px;
    }
}

.mini-bio-sep {
    color: var(--text-dim);
    opacity: 0.5;
}

/* Trust bar */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .hero-trust-bar {
        font-size: 0.75rem;
        gap: 4px 12px;
        margin-top: 32px;
        padding-top: 32px;
    }
}

.trust-label {
    font-family: var(--font-mono);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.65rem;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .trust-label {
        font-size: 0.7rem;
        width: auto;
        margin-bottom: 0;
    }
}

.trust-item {
    color: var(--text-secondary);
}

.trust-sep {
    color: var(--text-dim);
    opacity: 0.5;
}

/* ========================================
   EMOTIONAL BLOCK (Problema section)
======================================== */
.emotional-block {
    max-width: 700px;
    margin: 0 auto 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .emotional-block {
        margin-bottom: 40px;
    }
}

.emotional-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .emotional-text {
        font-size: 1.15rem;
    }
}

.emotional-text em {
    color: var(--text-primary);
    font-style: italic;
}

/* ========================================
   IA CALLOUT (Problema section) - Expanded
======================================== */
.ia-callout {
    background: var(--bg-card);
    border: 1px solid var(--amber);
    border-radius: 12px;
    overflow: hidden;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .ia-callout {
        margin: 40px 0;
    }
}

.ia-callout-header {
    background: linear-gradient(135deg, rgba(210, 153, 34, 0.15) 0%, rgba(210, 153, 34, 0.05) 100%);
    padding: 12px 24px;
    border-bottom: 1px solid rgba(210, 153, 34, 0.2);
}

@media (min-width: 768px) {
    .ia-callout-header {
        padding: 14px 32px;
    }
}

.ia-callout-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .ia-callout-label {
        font-size: 0.75rem;
    }
}

.ia-callout-body {
    padding: 24px;
}

@media (min-width: 768px) {
    .ia-callout-body {
        padding: 32px;
    }
}

.ia-callout-headline {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .ia-callout-headline {
        font-size: 1.25rem;
        margin-bottom: 28px;
    }
}

.ia-callout-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .ia-callout-details {
        gap: 16px;
    }
}

.ia-callout-detail {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--border-color);
}

@media (min-width: 768px) {
    .ia-callout-detail {
        padding: 16px 20px;
    }
}

.ia-callout-detail.highlight {
    border-left-color: var(--green-primary);
    background: linear-gradient(135deg, rgba(63, 185, 80, 0.05) 0%, var(--bg-secondary) 100%);
}

.ia-callout-detail-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    flex-shrink: 0;
    min-width: 80px;
}

@media (min-width: 768px) {
    .ia-callout-detail-label {
        font-size: 0.75rem;
    }
}

.ia-callout-detail.highlight .ia-callout-detail-label {
    color: var(--green-primary);
}

.ia-callout-detail-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .ia-callout-detail-text {
        font-size: 0.9rem;
    }
}

.ia-callout-detail.highlight .ia-callout-detail-text {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   BOOK REVEAL (Solución section)
======================================== */
.book-reveal {
    margin: 40px 0;
}

@media (min-width: 768px) {
    .book-reveal {
        margin: 48px 0;
    }
}

.book-reveal-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .book-reveal-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.book-reveal-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .book-reveal-desc {
        font-size: 1.1rem;
    }
}

.book-reveal-image {
    display: flex;
    justify-content: center;
    order: -1;
}

@media (min-width: 768px) {
    .book-reveal-image {
        order: 0;
    }
}

.book-reveal-image .book-mockup {
    max-width: 280px;
}

@media (min-width: 768px) {
    .book-reveal-image .book-mockup {
        max-width: 360px;
    }
}

/* Benefits grid - 3 columns */
.benefits-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .benefits-grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Value crystallization */
.value-crystallization {
    text-align: center;
    margin: 40px 0 32px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

@media (min-width: 768px) {
    .value-crystallization {
        margin: 48px 0 40px;
        padding: 32px;
    }
}

.value-phrase {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .value-phrase {
        font-size: 1.25rem;
    }
}

/* ========================================
   PRICING CONTEXT (narrative anchor)
======================================== */
.pricing-context {
    max-width: 600px;
    margin: 32px auto 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .pricing-context {
        margin: 40px auto 48px;
    }
}

.pricing-context-line {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .pricing-context-line {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
}

.pricing-context-line strong {
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.pricing-context-highlight {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-top: 16px;
    margin-bottom: 16px;
}

.pricing-context-highlight strong {
    color: var(--green-primary);
}

@media (min-width: 768px) {
    .pricing-context-highlight {
        font-size: 1.15rem;
    }
}

.pricing-context-reveal {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .pricing-context-reveal {
        font-size: 1.3rem;
    }
}

/* Pricing grid - 3 columns */
.pricing-grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .pricing-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .pricing-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pricing seats counter */
.pricing-seats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--amber);
    padding: 8px 0;
    margin-bottom: 8px;
}

.seats-icon {
    font-size: 0.9rem;
}

/* Pricing guarantee inline */
.pricing-guarantee {
    margin-top: 32px;
}

@media (min-width: 768px) {
    .pricing-guarantee {
        margin-top: 40px;
    }
}

.guarantee-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .guarantee-inline {
        padding: 24px 32px;
    }
}

.guarantee-inline .guarantee-badge {
    flex-shrink: 0;
}

.guarantee-inline-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .guarantee-inline-text {
        font-size: 0.9rem;
    }
}

.guarantee-inline-text strong {
    color: var(--text-primary);
}

/* ========================================
   JOURNEY FINAL - 3 OPTIONS
======================================== */
.journey-final-options-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .journey-final-options-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.option-mentoria {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-normal);
}

@media (min-width: 768px) {
    .option-mentoria {
        padding: 32px 24px;
    }
}

.option-mentoria:hover {
    border-color: var(--green-primary);
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ========================================
   SECTION SUBTITLE
======================================== */
.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================
   BOOK REVEAL - LEAD TEXT
======================================== */
.book-reveal-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .book-reveal-lead {
        font-size: 1.05rem;
    }
}

/* ========================================
   LEARN SPECS (minimalista)
======================================== */
.learn-specs {
    margin: 48px 0;
}

@media (min-width: 768px) {
    .learn-specs {
        margin: 56px 0;
    }
}

.learn-specs h3 {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .learn-specs h3 {
        margin-bottom: 32px;
    }
}

/* Specs profile matrix */
.specs-profiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .specs-profiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 1px;
        background: var(--border-color);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        overflow: hidden;
    }
}

.specs-profile-col {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 900px) {
    .specs-profile-col {
        border: none;
        border-radius: 0;
    }
}

.specs-profile-header {
    padding: 14px 20px;
    background: var(--bg-card);
    border-bottom: 2px solid var(--green-primary);
    text-align: center;
}

.specs-profile-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.spec-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    transition: var(--transition-fast);
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .spec-item {
        padding: 20px 24px;
    }
}

.spec-item:hover {
    background: var(--bg-card-hover);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-content strong {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.spec-detail {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .spec-content strong {
        font-size: 1.05rem;
    }
    .spec-detail {
        font-size: 0.9rem;
    }
}

/* ========================================
   VALUE PHRASE - IMPROVED
======================================== */
.value-phrase-wrapper {
    text-align: center;
}

.value-phrase-top {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .value-phrase-top {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }
}

.value-phrase-main {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .value-phrase-main {
        font-size: 2rem;
        margin-bottom: 16px;
    }
}

.value-num {
    color: var(--green-primary);
}

.value-sep {
    color: var(--text-dim);
    margin: 0 4px;
}

@media (min-width: 768px) {
    .value-sep {
        margin: 0 8px;
    }
}

.value-phrase-bottom {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (min-width: 768px) {
    .value-phrase-bottom {
        font-size: 1.05rem;
    }
}

/* ========================================
   LEGAL PAGES
======================================== */
.legal-page {
    padding: 120px 16px 60px;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .legal-page {
        padding: 140px 24px 80px;
    }
}

.legal-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.legal-page h1 {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .legal-page h1 {
        font-size: 2.25rem;
    }
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.legal-page section {
    margin-bottom: 36px;
}

.legal-page h2 {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .legal-page h2 {
        font-size: 1.3rem;
    }
}

.legal-page h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-page p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-page ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.legal-page ul li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.legal-page ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-family: var(--font-mono);
    font-weight: 600;
}

.legal-page a {
    color: var(--green-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-page a:hover {
    color: var(--green-bright);
    text-decoration: underline;
}

.legal-page code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--amber);
}

.legal-page strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Legal tables */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.legal-table thead {
    background: var(--bg-secondary);
}

.legal-table th {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.legal-table td {
    padding: 10px 14px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    vertical-align: top;
}

.legal-table tr:hover td {
    background: rgba(48, 54, 61, 0.3);
}

@media (max-width: 600px) {
    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

