/* Landing Page Styles - Diseño Profesional y Serio */

.public-page {
    background: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Navbar Pública - Mejorado */
.navbar-public {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar-brand a {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #0010ef 0%, #0050ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.navbar-menu a {
    color: #1a202c;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
    position: relative;
}

.navbar-menu a:hover {
    color: #0010ef;
}

.navbar-menu a:not(.btn):hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0010ef;
    border-radius: 2px;
}

.btn-small {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

/* Hero Section - Profesional */
.hero {
    background: linear-gradient(135deg, #0010ef 0%, #0030d0 50%, #0010ef 100%);
    color: #fff;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-icon {
    width: 18px;
    height: 18px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 38px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.btn-primary {
    background: #fff;
    color: #0010ef;
}

.btn-primary:hover {
    background: #f8f9fa;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Hero Image - Dashboard Mockup Mejorado */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.hero-dashboard-preview {
    width: 100%;
    max-width: 600px;
}

.dashboard-mockup {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.5s;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e1e8ed;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

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

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28ca42; }

.mockup-url {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

.mockup-content {
    padding: 30px;
    background: #fff;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.mockup-stat {
    height: 70px;
    background: linear-gradient(to bottom, #f5f7fa, #e8ecf1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0010ef 0%, #0050ff 100%);
    border-radius: 0 0 10px 10px;
    transition: height 0.3s;
}

.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-row {
    height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
}

.row-indicator {
    width: 8px;
    height: 8px;
    background: #0010ef;
    border-radius: 50%;
    opacity: 0.6;
}

.row-content {
    flex: 1;
    height: 14px;
    background: linear-gradient(90deg, #e1e8ed 0%, #e1e8ed 70%, transparent 70%);
    border-radius: 4px;
}

/* Trust Bar */
.trust-bar {
    background: #f8f9fa;
    padding: 50px 0;
    border-bottom: 1px solid #e1e8ed;
}

.trust-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.trust-badge svg {
    flex-shrink: 0;
}

.trust-badge div {
    display: flex;
    flex-direction: column;
}

.trust-badge strong {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 4px;
}

.trust-badge span {
    font-size: 13px;
    color: #718096;
}

/* Section Headers Mejorados */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, #0010ef 0%, #0050ff 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a202c;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 19px;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section - Mejorado */
.features {
    padding: 120px 0;
    background: #fff;
}

.features .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.feature-card {
    background: #fff;
    padding: 45px;
    border-radius: 16px;
    border: 2px solid #f0f4f8;
    text-align: left;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0010ef 0%, #0050ff 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #0010ef;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 48px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a202c;
    font-weight: 700;
}

.feature-card > p {
    color: #718096;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 20px;
}

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

.feature-list li {
    color: #4a5568;
    font-size: 14px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '→';
    color: #0010ef;
    font-weight: bold;
}

/* Pricing Section - Mejorado */
.pricing {
    padding: 120px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.pricing .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 2px solid #e1e8ed;
    border-radius: 20px;
    padding: 50px;
    text-align: left;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: #0010ef;
}

.pricing-card.featured {
    border-color: #0010ef;
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 16, 239, 0.25);
}

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

.pricing-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0010ef 0%, #0050ff 100%);
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 16, 239, 0.4);
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f4f8;
}

.pricing-header h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #1a202c;
    font-weight: 700;
}

.pricing-description {
    font-size: 15px;
    color: #718096;
    margin-top: 15px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 64px;
    font-weight: 800;
    color: #0010ef;
    line-height: 1;
}

.price-period {
    font-size: 20px;
    color: #718096;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 35px 0;
}

.pricing-features li {
    padding: 14px 0;
    color: #4a5568;
    border-bottom: 1px solid #f0f4f8;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    border: 2px solid #0010ef;
    color: #0010ef;
    font-weight: 600;
}

.btn-outline:hover {
    background: #0010ef;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 16, 239, 0.3);
}

/* Botones base */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #0010ef 0%, #0050ff 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 16, 239, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #000db8 0%, #0030d0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 16, 239, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #0010ef;
    border: 2px solid #0010ef;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
    justify-content: center;
}

/* CTA Section - Mejorado */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.cta-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-content {
    text-align: center;
}

.cta-header {
    margin-bottom: 60px;
}

.cta-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1a202c;
    font-weight: 700;
    letter-spacing: -1px;
}

.cta-header p {
    font-size: 20px;
    color: #718096;
    line-height: 1.7;
}

.lead-form {
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    text-align: left;
    border: 1px solid #e1e8ed;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: #718096;
    margin-top: 25px;
    line-height: 1.6;
}

/* Footer - Mejorado */
.footer {
    background: #1a202c;
    color: #fff;
    padding: 80px 0 30px;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    background: #0010ef;
    transform: translateY(-2px);
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 14px;
    color: #a0aec0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-section a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #2d3748;
    color: #718096;
    font-size: 14px;
}

.footer-bottom p {
    margin: 8px 0;
}

.footer-legal {
    font-size: 12px;
    color: #4a5568;
}

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

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

/* Responsive */
@media (max-width: 1200px) {
    .hero-content {
        gap: 60px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .trust-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .navbar-content {
        padding: 0 20px;
    }
    
    .navbar-menu {
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .lead-form {
        padding: 40px;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .navbar-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .lead-form {
        padding: 30px 20px;
    }
}
