/* Variables de color basadas en TikCroo */
:root {
    --bg-dark: #121214;
    --bg-darker: #09090b;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, rgba(9, 9, 11, 1) 60%);
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
}

.navbar {
    width: 100%;
    padding: 0.8rem 5%; /* Ajustamos levemente el padding vertical para encuadrar la imagen */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* --- ESTILOS CONTROLADOS PARA TU LOGO EN IMAGEN --- */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px; /* Altura perfecta para que se vea n¨ªtida y estilizada */
    width: auto;  /* El ancho se calcula solo de forma proporcional */
    display: block;
}
/* -------------------------------------------------- */

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links > a:not(.nav-cta) {
    color: var(--text-main) !important;
    text-decoration: none !important;
    margin-left: 2rem !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
    transition: color 0.3s !important;
}

.nav-links > a:not(.nav-cta):hover {
    color: var(--accent-purple) !important;
}

/* --- CLON PRO CON LOS TRES CANDADOS ACTIVADOS DE INICIO --- */
.nav-cta {
    background: linear-gradient(45deg, var(--accent-purple), #6d28d9) !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4) !important;
    
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    
    max-width: 0 !important;
    padding: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    
    transition: 
        opacity 0.4s ease, 
        max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
        padding 0.4s ease, 
        visibility 0.4s,
        transform 0.3s,
        box-shadow 0.3s !important;
}

.nav-cta.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-width: 250px !important;
    padding: 0.6rem 1.5rem !important;
}

.nav-cta.visible:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6) !important;
}

.hero-content {
    max-width: 800px;
    margin-top: 5rem;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), #6d28d9);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid var(--accent-purple);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
}

.hero-image-container {
    margin-top: 4rem;
    position: relative;
    perspective: 1000px;
    z-index: 2;
}

.app-mockup {
    max-width: 800px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: rotateX(5deg);
    transition: transform 0.5s;
}

.app-mockup:hover {
    transform: rotateX(0deg) scale(1.02);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 60%);
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
}

.features-section {
    padding: 6rem 5%;
    background-color: var(--bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}