/* ================================
   BUHO LANDING PAGE - DARK THEME
   ================================ */

/* Variables de color */
:root {
    --bg-main: #1a1a2e;
    --bg-input: #16213e;
    --border: #0f3460;
    --text-main: #eee2dc;
    --text-muted: #9ca3af;
    --accent: #e94560;
    --placeholder: #6c7293;
}


body {
    background-color: var(--bg-main) !important;
    color: var(--text-main) !important;
}

.container {
    background: transparent !important;
    box-shadow: none !important;
    padding: 60px 20px !important;
}

a {
    color: var(--accent);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.site-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.brand {
    font-weight: 800;
    color: var(--text-main);
    font-size: 24px;
    text-decoration: none;
}

.brand-text {
    margin-left: 8px;
}

.navbar-nav .nav-link {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--text-main);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ff6b7a);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
    color: white;
}

/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    min-height: 100vh;
    padding-top: 80px;
    background: var(--bg-main);
}

.hero-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-badge .badge {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.text-accent {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #ff6b7a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-stats {
    opacity: 0.8;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ================================
   PHONE MOCKUP
   ================================ */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a3e, #1e1e32);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-input);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.app-preview {
    padding: 20px;
    height: 100%;
}

.preview-header {
    margin-bottom: 20px;
}

.status-bar {
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    width: 60%;
    margin-bottom: 15px;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--border), #0a2c5a);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    font-weight: 600;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   FEATURES SECTION
   ================================ */

.features-section {
    background: var(--bg-main);
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================================
   DOWNLOAD SECTION
   ================================ */

.download-section {
    background: var(--bg-main);
    padding: 100px 0;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.download-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.download-buttons {
    margin-bottom: 2rem;
}

.download-info {
    opacity: 0.7;
}

.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #666;
    margin-bottom: 1rem;
}

.qr-text {
    color: #666;
    font-weight: 500;
    margin: 0;
}

/* ================================
   BOTONES
   ================================ */

.cta {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), #ff6b7a);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ================================
   TARJETAS DE CARACTERÍSTICAS
   ================================ */

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transform: translateY(6px);
    opacity: 0;
    animation: floatIn 420ms ease-out forwards;
}

.card-emoji {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

/* ================================
   VISTA PREVIA DE LA APP
   ================================ */

.visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock {
    width: 320px;
    height: 650px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--bg-input), #162444);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-weight: 700;
}

/* ================================
   ELEMENTOS DE FORMULARIO
   ================================ */

input,
textarea,
select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 10px 12px;
    border-radius: 8px;
}

input::placeholder,
textarea::placeholder {
    color: var(--placeholder);
}

/* ================================
   FOOTER
   ================================ */

.site-footer {
    background: var(--bg-main);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-title {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--text-main);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ================================
   SOCIOS SECTION
   ================================ */

.socios-section {
    background: var(--bg-main);
    padding: 100px 0;
}

.socio-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.socio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 69, 96, 0.3);
    background: linear-gradient(145deg, rgba(233, 69, 96, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 0 20px 40px rgba(233, 69, 96, 0.1);
}

.socio-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), #ff6b7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.socio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

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

.socio-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.socio-benefits li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.socio-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ================================
   ANIMACIONES
   ================================ */

@keyframes slideInFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes floatIn {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animaciones en scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Animaciones heredadas (para elementos que ya tenían animación) */
.animate-from-right {
    animation: slideInFromRight 0.8s ease-out forwards;
    opacity: 0;
}

/* Variaciones de animación para más dinamismo */
.animate-on-scroll:nth-child(even) {
    transform: translateX(80px) translateY(20px);
}

.animate-on-scroll:nth-child(even).animated {
    transform: translateX(0) translateY(0);
}

/* Efectos especiales para el hero */
.hero-badge.animate-on-scroll {
    transform: translateX(50px) scale(0.9);
}

.hero-badge.animate-on-scroll.animated {
    transform: translateX(0) scale(1);
}

.hero-title.animate-on-scroll {
    transform: translateX(120px);
}

.hero-title.animate-on-scroll.animated {
    transform: translateX(0);
}

/* Efectos para las tarjetas */
.feature-card.animate-on-scroll,
.socio-card.animate-on-scroll {
    transform: translateX(80px) translateY(30px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card.animate-on-scroll.animated,
.socio-card.animate-on-scroll.animated {
    transform: translateX(0) translateY(0);
}

/* Efecto especial para el teléfono */
.hero-visual.animate-on-scroll {
    transform: translateX(150px) rotate(5deg);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-visual.animate-on-scroll.animated {
    transform: translateX(0) rotate(0deg);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .socio-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .socio-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .socio-title {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Animaciones más suaves en móvil */
    .animate-on-scroll {
        transform: translateX(50px);
    }
    
    .hero-visual.animate-on-scroll {
        transform: translateX(80px) rotate(2deg);
    }
    
    .animate-from-right {
        animation-delay: 0s !important;
    }
}

@media (max-width: 900px) {
    .landing {
        flex-direction: column-reverse;
        padding: 20px;
    }
    
    .visual {
        width: 100%;
        flex: unset;
    }
    
    .mock {
        width: 220px;
        height: 440px;
    }
}

