* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: oklch(7% 0.015 285);
    --surface: oklch(11.5% 0.02 285);
    --surface2: oklch(15.5% 0.025 285);
    --border: oklch(22% 0.03 285);
    --border-mid: oklch(28% 0.04 285);
    --primary: oklch(62% 0.28 295);
    --secondary: oklch(75% 0.2 295);
    --text: oklch(93% 0.01 285);
    --text-muted: oklch(58% 0.04 285);
    --green: oklch(76% 0.2 145);
    --yellow: oklch(82% 0.18 80);
    
    --bg-dark: oklch(7% 0.015 285);
    --bg-darker: oklch(5.5% 0.01 285);
    --neon-purple: oklch(62% 0.28 295);
    --neon-cyan: oklch(75% 0.2 295);
    --neon-pink: #ec4899;
    --neon-green: oklch(76% 0.2 145);
    --text-primary: oklch(93% 0.01 285);
    --text-secondary: oklch(58% 0.04 285);
    --card-bg: oklch(11.5% 0.02 285);
    --card-border: oklch(22% 0.03 285);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: 
        var(--bg),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 80px,
            oklch(62% 0.28 295 / 0.05) 80px,
            oklch(62% 0.28 295 / 0.05) 81px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 80px,
            oklch(75% 0.2 295 / 0.04) 80px,
            oklch(75% 0.2 295 / 0.04) 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 120px,
            oklch(62% 0.28 295 / 0.03) 120px,
            oklch(62% 0.28 295 / 0.03) 121px
        );
    overflow-x: hidden;
    position: relative;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, oklch(10% 0.02 285) 0%, oklch(5% 0.01 285) 100%);
}

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

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: oklch(7% 0.015 285 / 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    height: 64px;
}

.navbar {
    padding: 0;
    height: 64px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon-nav {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
}

.logo:hover .logo-icon-nav {
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.8));
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-mid);
    transition: all 0.2s;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
}

.github-link:hover {
    border-color: var(--primary);
    background: oklch(62% 0.28 295 / 0.08);
    color: var(--text);
}

.kofi-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, oklch(62% 0.28 295 / 0.15), oklch(70% 0.19 200 / 0.15));
    border: 1px solid var(--secondary);
    transition: all 0.2s;
    font-size: 14px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.kofi-link:hover {
    background: linear-gradient(135deg, oklch(62% 0.28 295 / 0.25), oklch(70% 0.19 200 / 0.25));
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px oklch(70% 0.19 200 / 0.3);
}

main {
    margin-top: 80px;
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 65% 55% at 50% 40%, oklch(14% 0.04 285) 0%, transparent 100%);
}

.hero-left {
    padding: 40px 40px 60px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-right {
    padding: 40px 60px 60px 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.risk-model-hero {
    padding: 0 !important;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.risk-model-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 100vh;
    align-items: center;
    width: 100%;
}

.risk-model-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 40px 80px 80px;
}

.risk-model-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(
        ellipse 90% 80% at 55% 50%,
        oklch(14% 0.06 285) 0%,
        transparent 70%
    );
    padding: 80px 40px;
}

.risk-model-image img {
    width: 85%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 0 80px oklch(62% 0.28 295 / 0.5));
    animation: float 7s ease-in-out infinite;
}

.hero-content {
    z-index: 1;
    text-align: center;
}

.hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-logo {
    animation: float 7s ease-in-out infinite;
    flex-shrink: 0;
}

.logo-main {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.6));
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.glitch {
    font-family: 'Cinzel', serif;
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 700;
    letter-spacing: 8px;
    line-height: 1;
    margin-bottom: 8px;
    margin-top: -1rem;
    color: var(--text);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 24px oklch(62% 0.28 295 / 0.45), 0 0 70px oklch(62% 0.28 295 / 0.15);
    }
    50% {
        text-shadow: 0 0 50px oklch(62% 0.28 295 / 0.78), 0 0 120px oklch(62% 0.28 295 / 0.3);
    }
}

.tagline {
    font-family: 'Cinzel', serif;
    font-size: clamp(13px, 2vw, 16px);
    color: var(--secondary);
    margin-bottom: 0;
    letter-spacing: 3px;
    font-weight: 400;
}

.hero-description {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 90%;
    margin: 0 auto 2rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px oklch(62% 0.28 295 / 0.35);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px oklch(62% 0.28 295 / 0.55);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 10px;
    border: 1px solid var(--border-mid);
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: oklch(62% 0.28 295 / 0.07);
    transform: translateY(-2px);
}

.terminal-window {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    text-align: left;
    max-width: 100%;
}

.terminal-header {
    background: var(--surface2);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
}

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

.terminal-dot.red { background: oklch(68% 0.24 25); }
.terminal-dot.yellow { background: oklch(82% 0.18 80); }
.terminal-dot.green { background: oklch(76% 0.2 145); }

.terminal-body {
    background: oklch(5.5% 0.01 285);
    padding: 18px 22px;
    min-height: 210px;
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    line-height: 1.85;
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.terminal-body p {
    margin: 0.5rem 0;
}

.prompt {
    color: var(--neon-green);
    margin-right: 0.5rem;
}

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

.output.success {
    color: var(--neon-green);
}

.cursor {
    color: var(--neon-cyan);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

section {
    padding: 96px 0;
    position: relative;
}

.escs-section {
    background: var(--bg);
    padding: 96px 0;
}

.features-section {
    background: var(--surface);
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.install-section {
    background: var(--bg);
    padding: 96px 0;
}

.how-section {
    background: var(--surface);
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.credits-section {
    background: var(--bg);
    padding: 96px 0;
}

.credits-grid {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.credits-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.credits-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    opacity: 0.8;
}

.credits-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px oklch(62% 0.28 295 / 0.15);
}

.developer-card,
.presentations-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.presentations-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0.8;
}

.developer-card:hover,
.presentations-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px oklch(62% 0.28 295 / 0.15);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    color: var(--primary);
    opacity: 0.8;
}

.credits-card h3,
.developer-card h3,
.presentations-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.compact-credits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    column-gap: 2rem;
}

.compact-credits-list li {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    padding: 0.5rem 0;
}

.compact-credits-list strong {
    color: var(--secondary);
    font-weight: 600;
}

.dev-name {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dev-role {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.dev-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.presentations-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.presentations-list li {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    background: var(--surface);
}

.presentations-list li:hover {
    border-color: var(--primary);
    background: var(--bg);
}

.presentations-list li:last-child {
    margin-bottom: 0;
}

.event-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-year {
    display: inline-block;
    background: var(--primary);
    color: var(--bg);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.event-location {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.changelog-section {
    background: var(--surface);
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 14px;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.escs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 98% !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    grid-auto-rows: 1fr;
}

/* Tablet y laptop pequeña - 3 columnas */
@media (min-width: 900px) {
    .escs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Desktop y monitores grandes - 4 columnas */
@media (min-width: 1400px) {
    .escs-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.esc-card {
    background: transparent;
    border: none;
    border-left: 3px solid var(--border);
    padding: 1.25rem 0 1.25rem 1.25rem;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.esc-card[data-esc="1"],
.esc-card[data-esc="2"],
.esc-card[data-esc="6"] {
    border-left-color: #ef4444;
}

.esc-card[data-esc="3"],
.esc-card[data-esc="4"],
.esc-card[data-esc="5"],
.esc-card[data-esc="7"],
.esc-card[data-esc="8"],
.esc-card[data-esc="12"],
.esc-card[data-esc="13"],
.esc-card[data-esc="15"] {
    border-left-color: #f97316;
}

.esc-card[data-esc="9"],
.esc-card[data-esc="10"],
.esc-card[data-esc="11"],
.esc-card[data-esc="14"],
.esc-card[data-esc="16"] {
    border-left-color: #eab308;
}

.esc-card:hover {
    border-left-width: 4px;
    padding-left: 1.5rem;
}

.esc-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
}

.esc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.esc-badge.critical {
    background: oklch(50% 0.2 25);
    color: var(--bg);
}

.esc-badge.high {
    background: oklch(60% 0.15 40);
    color: var(--bg);
}

.esc-badge.medium {
    background: oklch(70% 0.15 85);
    color: var(--bg);
}

.esc-badge.method {
    background: var(--border-mid);
    color: var(--text-muted);
}

.esc-card h3 {
    color: var(--text);
    margin-bottom: 0.4rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Outfit', sans-serif;
}

.esc-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    font-weight: 300;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.install-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 240px;
    backdrop-filter: blur(10px);
}

.install-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.install-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.install-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.install-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px oklch(62% 0.28 295 / 0.2);
}

.install-card:hover::before {
    opacity: 1;
    height: 5px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    margin-bottom: 1.25rem;
    font-family: 'Cinzel', serif;
    line-height: 1;
}

.install-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--text);
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.code-block {
    background: oklch(5.5% 0.01 285);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-top: auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.code-block code {
    color: var(--green);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: oklch(62% 0.28 295 / 0.55);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: oklch(62% 0.28 295 / 0.12);
    border: 1px solid oklch(62% 0.28 295 / 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

.workflow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.workflow-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.workflow-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: oklch(62% 0.28 295 / 0.12);
    border: 1.5px solid oklch(62% 0.28 295 / 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.workflow-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.workflow-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--neon-cyan);
}

.credits-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
}

.credits-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

.credits-list li {
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.credits-list li:last-child {
    border-bottom: none;
}

.credits-list strong {
    color: var(--neon-purple);
}

.changelog-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    display: flex;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.changelog-date {
    min-width: 130px;
    flex-shrink: 0;
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.changelog-content h3 {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: 'Space Mono', monospace;
}

.changelog-content {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    padding-top: 1px;
    flex: 1;
}

.changelog-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.changelog-content li {
    color: var(--text-muted);
    padding: 0.25rem 0;
}

footer {
    background: var(--bg);
    padding: 80px 0 56px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 14px;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 1024px) {
    .escs-grid,
    .features-grid,
    .install-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 60px 20px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .glitch {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .escs-grid,
    .features-grid,
    .install-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .workflow {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
    }
    
    .changelog-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .changelog-date {
        min-width: auto;
    }
}

/* ── 1366px — laptop estándar ── */
@media (max-width: 1366px) {
    .hero {
        grid-template-columns: 45% 55%;
    }

    .hero-left {
        padding: 60px 30px 60px 60px;
    }

    .hero-right {
        padding: 60px 40px 60px 10px;
    }

    .terminal-body {
        font-size: 11px;
        padding: 14px 16px;
    }
}

/* ── 1280px ── */
@media (max-width: 1280px) {
    .hero {
        grid-template-columns: 46% 54%;
    }

    .hero-left {
        padding: 60px 20px 60px 50px;
    }

    .hero-right {
        padding: 60px 30px 60px 10px;
    }

    .logo-main {
        width: 240px;
    }

    .glitch {
        font-size: clamp(40px, 5.5vw, 70px);
        letter-spacing: 5px;
    }

    .terminal-body {
        font-size: 10.5px;
        padding: 12px 14px;
    }
}

/* ── 1024px — tablet landscape ── */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 64px;
    }

    .hero-left {
        padding: 60px 24px 20px;
    }

    .hero-right {
        padding: 0 24px 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .logo-main {
        width: 200px;
    }

    .glitch {
        font-size: clamp(36px, 8vw, 56px);
        letter-spacing: 4px;
    }

    .credits-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .compact-credits-list {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .workflow {
        gap: 0.5rem;
    }

    .workflow-step {
        min-width: 150px;
        max-width: 200px;
    }

    .workflow-content p {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 40px 20px 60px;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .terminal-window {
        order: 2;
    }

    .hero-buttons {
        justify-content: center;
    }

    .logo-main {
        width: 180px;
    }

    .workflow {
        flex-direction: column;
        align-items: center;
    }

    .workflow-step {
        min-width: 280px;
        max-width: 380px;
        width: 100%;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        margin: 0.25rem 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

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

    .hero {
        padding: 80px 16px 60px;
    }

    .hero .container {
        gap: 2rem;
        padding: 20px 16px 40px;
    }

    .glitch {
        font-size: clamp(28px, 10vw, 44px);
        letter-spacing: 3px;
    }

    .tagline {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .hero-description {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .terminal-body {
        font-size: 10px;
        padding: 10px 12px;
        min-height: 140px;
    }

    .section-title {
        font-size: 26px;
    }

    .escs-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        width: 100% !important;
    }

    .install-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .credits-grid {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .changelog-item {
        flex-direction: column;
        gap: 12px;
    }

    .changelog-date {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .logo-main {
        width: 140px;
    }

    .glitch {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .terminal-body {
        font-size: 9.5px;
        min-height: 120px;
    }

    .install-card {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 18px;
    }

    .credits-card,
    .developer-card,
    .presentations-card {
        padding: 1.25rem;
    }

    .dev-name {
        font-size: 1.1rem;
    }
}
