@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    --bg-dark: #0b0d11;
    --acc-blue: #007acc;
    --acc-blue-dark: #005a9e;
    --acc-gray: #1e1e1e;
    --text-main: #ffffff;
    --text-dim: #8b949e;
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-h: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-h);
    background: rgba(11, 13, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* --- HERO SECTION --- */
.hero {
    padding-top: calc(var(--nav-h) + 6rem);
    padding-bottom: 10rem;
    text-align: center;
    background: radial-gradient(circle at 50% 10%, rgba(0, 122, 204, 0.08) 0%, transparent 50%);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.text-mint {
    background: linear-gradient(180deg, #ffffff 40%, #4ade80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #4ade80;
    /* Fallback for older browsers */
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.btn-download-container {
    margin-bottom: 4rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--acc-blue);
    color: rgb(0, 253, 0);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--acc-blue-dark);
}

.version-info {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 1rem;
}

.version-info a {
    color: var(--acc-blue);
    text-decoration: none;
}

/* --- EDITOR MOCKUP --- */
.editor-frame {
    max-width: 1000px;
    margin: 0 auto;
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
}

.editor-header {
    height: 40px;
    background: #323233;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-r {
    background: #ff5f56;
}

.dot-y {
    background: #ffbd2e;
}

.dot-g {
    background: #27c93f;
}

.editor-body {
    padding: 2rem;
    text-align: left;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.95rem;
    color: #d4d4d4;
    background: #1e1e1e;
}

.code-keyword {
    color: #569cd6;
}

.code-function {
    color: #dcdcaa;
}

.code-string {
    color: #ce9178;
}

.code-comment {
    color: #6a9955;
}

/* --- FEATURES --- */
.section {
    padding: 8rem 0;
}

.section-h {
    text-align: center;
    margin-bottom: 5rem;
}

.section-h h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 2rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--acc-blue);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.feature-card p {
    color: var(--text-dim);
}

/* --- COOKIES --- */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 350px;
    background: #1e1e1e;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 3000;
    display: none;
}

#cookie-banner.show {
    display: block;
}

#cookie-banner h4 {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

#cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.btn-blue {
    background: var(--acc-blue);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

/* --- COMING SOON BANNER --- */
.coming-soon-banner {
    background: linear-gradient(135deg, rgba(0, 122, 204, 0.1) 0%, rgba(30, 41, 59, 0.4) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 204, 0.1) 0%, transparent 60%);
    animation: rotateGlow 10s linear infinite;
    z-index: -1;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.coming-soon-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.badge {
    background: rgba(0, 122, 204, 0.2);
    color: var(--acc-blue);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(0, 122, 204, 0.3);
}

.proximamente-tag {
    margin-top: 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #007acc, #4ade80);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulsate 2s infinite alternate;
}

@keyframes pulsate {
    from {
        opacity: 0.8;
        transform: scale(1);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* --- FOOTER --- */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
}

/* --- MULTI-PAGE LAYOUTS --- */
.page-wrapper {
    padding-top: var(--nav-h);
    min-height: calc(100vh - 100px);
}

.doc-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.sidebar {
    padding: 2rem 0;
    border-right: 1px solid var(--glass-border);
    height: calc(100vh - var(--nav-h));
    position: sticky;
    top: var(--nav-h);
    overflow-y: auto;
}

.sidebar h4 {
    font-size: 0.8rem;
    color: var(--acc-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: rgba(0, 122, 204, 0.1);
    color: var(--text-main);
}

.doc-body {
    padding: 3rem 0;
    max-width: 800px;
}

.doc-body h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.doc-body h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.doc-body p {
    margin-bottom: 1.5rem;
    color: #a0a0a0;
}

.doc-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #a0a0a0;
}

.doc-body li {
    margin-bottom: 0.5rem;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}