:root {
    --bg-dark: #0d0e0f;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(212, 175, 55, 0.04);
    --text-primary: #f5f2eb;
    --text-secondary: #a8a095;
    --accent-primary: #c5a059;
    --accent-secondary: #8c6c3d;
    --border-color: rgba(197, 160, 89, 0.15);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Glowing Background Effects (Amber/Gold aura) */
.glow-background {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, rgba(13, 14, 15, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.glow-background-2 {
    position: absolute;
    top: 30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(140, 108, 61, 0.05) 0%, rgba(13, 14, 15, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #f5f2eb, #c5a059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0d0e0f !important;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem 5%;
    min-height: 80vh;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: #e9d3a7;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Mockup */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.app-mockup {
    background: rgba(13, 14, 15, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    height: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(197, 160, 89, 0.05);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero-visual:hover .app-mockup {
    transform: rotateY(-3deg) rotateX(1deg);
}

.mockup-header {
    height: 35px;
    background: rgba(197, 160, 89, 0.03);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
}

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

.dot.red { background: #ea580c; }
.dot.yellow { background: #ca8a04; }
.dot.green { background: #16a34a; }

.mockup-body {
    flex: 1;
    display: flex;
    padding: 0;
    gap: 0;
    height: calc(100% - 35px);
}

.mockup-sidebar {
    width: 140px;
    background: rgba(197, 160, 89, 0.02);
    height: 100%;
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid var(--border-color);
}

.mockup-nav-item {
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    color: var(--text-secondary);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mockup-nav-item.active {
    background: rgba(197, 160, 89, 0.12);
    color: #e9d3a7;
    font-weight: 600;
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    overflow: hidden;
}

.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.05);
}

.mockup-row:hover {
    border-color: rgba(197, 160, 89, 0.2);
    background: rgba(197, 160, 89, 0.02);
}

.mockup-title {
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.mockup-composer {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.mockup-tag {
    padding: 0.15rem 0.45rem;
    background: rgba(197, 160, 89, 0.1);
    color: #e9d3a7;
    border-radius: 4px;
    font-size: 0.65rem;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.35);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    color: var(--accent-primary);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    padding: 3rem 5%;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        padding: 1.2rem 4%;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-links {
        gap: 1.2rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 3rem;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .app-mockup {
        transform: none !important;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 1rem 3%;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .mockup-body {
        flex-direction: column-reverse; /* Coloca la barra de navegación en la parte inferior simulando una app móvil */
    }
    
    .mockup-sidebar {
        width: 100%;
        height: auto;
        padding: 0.5rem 0.2rem;
        flex-direction: row;
        justify-content: space-around;
        gap: 0.2rem;
        border-right: none;
        border-top: 1px solid var(--border-color);
    }
    
    .mockup-nav-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        text-align: center;
        flex: 1;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .nav-links a:not(.btn) {
        display: none; /* Oculta 'El Archivo' para evitar solapamientos en pantallas muy pequeñas */
    }
    
    .navbar {
        gap: 0.5rem;
    }
    
    .logo {
        gap: 0.5rem !important;
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .mockup-grid {
        grid-template-columns: 1fr !important; /* Muestra las tarjetas del mockup en una sola columna en pantallas muy angostas */
    }
    
    .mockup-nav-item span {
        display: none; /* Oculta el texto en móviles pequeños, dejando sólo los iconos legibles */
    }
    
    .mockup-nav-item {
        font-size: 1rem; /* Aumenta ligeramente el tamaño del icono para mejor pulsación táctil */
        padding: 0.5rem 0.2rem;
    }
}

/* Mockup Helper Classes */
.mockup-version {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-left: auto;
    font-family: sans-serif;
}

.mockup-search-container {
    text-align: center;
    margin-bottom: 1.2rem;
}

.mockup-main-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f5f2eb;
    font-family: 'Playfair Display', serif;
}

.mockup-search-input {
    margin: 0.5rem auto 0;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: #888;
    font-size: 0.75rem;
    text-align: left;
}

.mockup-filter-group {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.mockup-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #a8a095;
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    transition: all 0.2s ease;
}

.mockup-filter-btn.active {
    background: var(--accent-primary);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.3);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.mockup-card:hover {
    border-color: rgba(197, 160, 89, 0.2);
}

.mockup-card-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #f5f2eb;
}

.mockup-card-composer {
    font-size: 0.65rem;
    color: #a8a095;
    margin-bottom: 0.6rem;
}

.mockup-card-tag {
    background: rgba(197, 160, 89, 0.1);
    color: #e9d3a7;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.55rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: inline-block;
    white-space: nowrap; /* Evita que la palabra 'Banda Sinfónica' se corte en varias líneas */
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis; /* Trunca con puntos suspensivos si no cabe en el espacio disponible */
    vertical-align: middle;
}

