/* ========================================
   HubCapture - Estilos Optimizados
   Paleta de colores verde profesional
   ======================================== */

/* Variables CSS */
:root {
    /* Colores Primarios - Verde Profesional */
    --primary: #059669;
    --primary-light: #10b981;
    --primary-dark: #047857;
    --accent: #22c55e;
    --accent-hover: #16a34a;
    
    /* Neutrales */
    --background: #ffffff;
    --foreground: #1f2937;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --border: #e5e7eb;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 8px 32px rgba(16, 185, 129, 0.2);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   NAVEGACIÓN
   ======================================== */
#navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

img.logo-cap {
    max-width: 60%;
    height: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--foreground);
    border-radius: 8px;
    transition: var(--transition);
}

.mobile-link:hover {
    background: var(--muted);
}

/* ========================================
   BOTONES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-app {
    background: transparent;
    border: solid 1px #05976a;
    color: var(--primary-dark);
}

.btn-app:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge {
    display: inline-block;
    width: fit-content;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 1.5rem;
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: #eab308;
    font-size: 1.25rem;
}

.proof-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--foreground);
}

.proof-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-glow);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.card-1 {
    bottom: -1.5rem;
    left: -1.5rem;
}

.card-2 {
    top: -1.5rem;
    right: -1.5rem;
}

.card-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 5rem 0;
}

.bg-gradient {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.solution-card {
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.solution-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.solution-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stars-small {
    display: flex;
    gap: 0.25rem;
    color: #eab308;
}

.testimonial-text {
    color: var(--foreground);
    line-height: 1.7;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-author strong {
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon-small {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--foreground);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-grid,
    .problems-grid,
    .solution-grid,
    .steps-container,
    .testimonials-grid,
    .contact-container,
    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding-top: 6rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
