/* ===================================
   Servet-Connect - Landing Page Styles
   =================================== */

/* Variables de Color */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 1.5rem 0;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.hero-guarantee i {
    font-size: 1.25rem;
}

.hero-image {
    animation: fadeInRight 0.8s ease 0.4s both;
    position: relative;
}

.hero-image img {
    border: 8px solid var(--bg-white);
}

/* Pain Points Section */
.pain-points-section {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.pain-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

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

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

.pain-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pain-card p {
    color: var(--text-gray);
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-content .lead {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-gray);
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-logo {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-gray);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    min-height: 100px;
}

.partner-logo:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.partner-logo.partner-highlight {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.integration-badge i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.comparison-table {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.comparison-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-header .comparison-col {
    padding: 1.5rem;
    text-align: center;
}

.comparison-col {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comparison-col i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.comparison-col strong {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.comparison-col p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.comparison-col.problem {
    background: #fef2f2;
    border-right: 2px solid var(--border-color);
}

.comparison-col.problem i {
    color: #dc2626;
}

.comparison-col.solution {
    background: #f0fdf4;
}

.comparison-col.solution i {
    color: var(--secondary-color);
}

.comparison-row:not(.comparison-header) {
    border-bottom: 2px solid var(--border-color);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-note {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-note i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.comparison-note strong {
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-col.problem {
        border-right: none;
        border-bottom: 2px solid var(--border-color);
    }
    
    .comparison-note {
        flex-direction: column;
        text-align: center;
    }
}

/* Intelligence Dashboard Section */
.intelligence-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.intelligence-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.intelligence-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.intelligence-badge i {
    font-size: 1.25rem;
}

.intelligence-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.intelligence-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.intelligence-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intelligence-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.intelligence-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.intelligence-item i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.intelligence-item strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.intelligence-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.intelligence-visual {
    position: relative;
}

.intelligence-visual img {
    border: 8px solid var(--bg-white);
}

.intelligence-stat {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 3px solid var(--accent-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-author span {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-gray);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-header p {
    color: var(--text-gray);
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-gray);
}

.pricing-features i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

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

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-gray);
}

.cta-benefits i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.demo-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.demo-form h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-control,
.form-select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-gray);
    margin: 0;
}

.form-note i {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand i {
    color: var(--primary-light);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--primary-light);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.875rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20ba5a;
    transform: scale(1.1);
    color: white;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .intelligence-title {
        font-size: 2rem;
    }
    
    .intelligence-subtitle {
        font-size: 1.125rem;
    }
    
    .intelligence-stat {
        bottom: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
