:root {
    --primary-color: #3b82f6; /* Azul brillante */
    --primary-dark: #2563eb;
    --bg-color: #0f172a; /* Fondo oscuro */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Fondos animados (Blobs) */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3b82f6 0%, rgba(59,130,246,0) 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8b5cf6 0%, rgba(139,92,246,0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Contenedores y Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Botones */
.btn-primary-sm, .btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-sm {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
}

.btn-primary-sm:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 14px 28px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-secondary.large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    margin-top: 120px;
    padding-top: 60px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.hero-extra-links {
    margin-bottom: 20px;
}

.download-alt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.3);
}

.download-alt:hover {
    color: #c084fc;
    border-bottom-color: rgba(192, 132, 252, 0.4);
}

.hero-subtext {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-bottom: 0 !important;
}

/* App Mockup Visual */
.hero-visual {
    flex: 1;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transform: rotateY(-5deg) rotateX(2deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    animation: floatingHero 6s ease-in-out infinite;
    object-fit: cover;
}

@keyframes floatingHero {
    0%, 100% { transform: rotateY(-5deg) rotateX(2deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-20px); }
}

/* Section subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 640px;
    margin: -40px auto 60px;
}

/* Changelog / Novedades Grid */
.changelog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.changelog-card {
    padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.changelog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.changelog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
}

.changelog-card:hover::before {
    opacity: 1;
}

.changelog-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.changelog-icon--ai {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.changelog-card:nth-child(1)::before {
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
}

.changelog-icon--export {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.changelog-card:nth-child(2)::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.changelog-icon--wizard {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.changelog-card:nth-child(3)::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.changelog-icon--presentation {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.changelog-card:nth-child(4)::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.changelog-icon--snapshots {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
}

.changelog-card:nth-child(5)::before {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.changelog-icon--search {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
}

.changelog-card:nth-child(6)::before {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.changelog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.changelog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Cards & Features */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.section {
    padding: 100px 24px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(96, 165, 250, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 60px 24px 100px;
}

.cta-card {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(to bottom right, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.requirements {
    font-size: 0.85rem !important;
    margin-top: 20px;
    margin-bottom: 0 !important;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
}

.footer-logo {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-contact {
    margin-top: 12px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-icon-link {
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
}

.social-icon-link:hover {
    color: #1DA1F2; /* Twitter Blue */
    transform: translateY(-2px);
}

.copyright {
    font-size: 0.85rem;
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .changelog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-extra-links {
        text-align: center;
    }
    .hero p {
        margin: 0 auto 40px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .nav-links {
        display: none; /* Simplificamos móvil */
    }
}

@media (max-width: 640px) {
    .changelog-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }
}

/* Video Container */
.video-container {
    max-width: 900px;
    margin: 40px auto 60px;
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    background: #000;
}

.video-container iframe {
    border: none;
    width: 100%;
    height: 100%;
}
