/* ================================================
   MARKETING.CSS - Landing Page Corporativa
   Version: 2.2 - Teal & Coral Theme
   ================================================ */

/* Variables de color - Teal + Coral Premium */
:root {
    --blue-primary: #14b8a6;
    --blue-dark: #0d9488;
    --blue-light: #ccfbf1;
    --teal-primary: #14b8a6;
    --teal-hover: #0d9488;
    --teal-dark: #134e4a;
    --teal-light: #ccfbf1;
    --coral-primary: #f97316;
    --coral-hover: #ea580c;
    --gradient-teal: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --gradient-coral: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --shadow-teal: 0 4px 20px rgba(20, 184, 166, 0.25);
    --shadow-coral: 0 4px 20px rgba(249, 115, 22, 0.25);
    /* Legacy aliases for compatibility */
    --indigo-primary: #14b8a6;
    --indigo-hover: #0d9488;
    --indigo-dark: #134e4a;
    --indigo-light: #ccfbf1;
    --violet-primary: #f97316;
    --violet-hover: #ea580c;
    --gradient-indigo: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --gradient-violet: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --shadow-indigo: 0 4px 20px rgba(20, 184, 166, 0.25);
    --shadow-violet: 0 4px 20px rgba(249, 115, 22, 0.25);
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --green-success: #10b981;
    --green-light: #d1fae5;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
}

/* Reset y base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================
   NAVBAR CORPORATIVO
   ================================================ */
.navbar-landing {
    background: var(--white) !important;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: none;
    padding: 0.875rem 0;
    transition: all var(--transition-base);
}

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

.navbar-landing .nav-link {
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 0.9375rem;
}

.navbar-landing .nav-link:hover {
    color: var(--blue-primary) !important;
    background: var(--blue-light);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo i {
    font-size: 1.625rem;
    color: var(--blue-primary);
}

.brand-logo:hover {
    color: var(--blue-dark);
    text-decoration: none;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--blue-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.trust-item {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: var(--green-success);
    font-size: 1rem;
}

/* ================================================
   BOTONES CORPORATIVOS
   ================================================ */
.btn-primary-custom {
    background: var(--gradient-teal);
    color: var(--white);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: var(--shadow-teal);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-secondary-custom {
    background: var(--white);
    color: var(--teal-primary);
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--teal-primary);
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-secondary-custom:hover {
    background: var(--teal-light);
    border-color: var(--teal-hover);
    color: var(--teal-hover);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ================================================
   FEATURE CARDS
   ================================================ */
.feature-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-teal);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--teal-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-teal);
}

.feature-icon-wrapper i {
    font-size: 1.75rem;
    color: var(--teal-primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper i {
    color: var(--white);
}

.feature-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ================================================
   PRICING CARDS
   ================================================ */
.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.pricing-card .card-header {
    padding: 2rem 1.5rem;
    border: none;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.pricing-card .card-header h6 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.pricing-card .card-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.pricing-card .card-header h2 small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-card .card-header.bg-primary {
    background: var(--blue-primary) !important;
    border-bottom: none;
}

.pricing-card .card-header.bg-primary h6,
.pricing-card .card-header.bg-primary h2,
.pricing-card .card-header.bg-primary p,
.pricing-card .card-header.bg-primary small {
    color: var(--white);
}

.pricing-card .card-header.bg-success {
    background: var(--green-success) !important;
    border-bottom: none;
}

.pricing-card .card-header.bg-success h6,
.pricing-card .card-header.bg-success h2,
.pricing-card .card-header.bg-success p,
.pricing-card .card-header.bg-success small {
    color: var(--white);
}

.pricing-card .card-header.bg-dark {
    background: var(--gray-900) !important;
    border-bottom: none;
}

.pricing-card .card-header.bg-dark h6,
.pricing-card .card-header.bg-dark h2,
.pricing-card .card-header.bg-dark p {
    color: var(--white);
}

.pricing-card .card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.pricing-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.pricing-card ul li i {
    color: var(--green-success);
    font-size: 1rem;
}

.pricing-card ul li i.bi-x-circle {
    color: var(--gray-400);
}

/* Popular Plan */
.pricing-card.popular {
    border: 2px solid var(--green-success);
    position: relative;
}

.pricing-card.popular::before {
    content: "RECOMENDADO";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-success);
    color: var(--white);
    padding: 0.375rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    position: relative;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--teal-primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.step-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ================================================
   SECTIONS
   ================================================ */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.bg-soft-blue {
    background-color: var(--gray-50);
}

.bg-gradient-subtle {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
    background: var(--gradient-teal);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse-bg 15s infinite;
    pointer-events: none;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
}

.cta-section .btn-light {
    background: var(--white);
    color: var(--blue-primary);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.cta-section .btn-light:hover {
    background: var(--gray-100);
    color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-info h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.125rem;
}

.testimonial-info p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ================================================
   FOOTER
   ================================================ */
.footer-landing {
    background: var(--teal-dark);
    padding: 4rem 0 2rem;
}

.footer-landing h6 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.footer-landing a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
}

.footer-landing a:hover {
    color: var(--white);
}

.footer-landing p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    margin-top: 3rem;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.text-muted {
    color: var(--gray-500) !important;
}

.card-hover-lift {
    transition: all var(--transition-base);
}

.card-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section h2 {
        font-size: 1.875rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-trust {
        gap: 1.5rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        width: 100%;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .step-circle {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .pricing-card .card-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .trust-item {
        font-size: 0.8125rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

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

/* ================================================
   LEGACY COMPATIBILITY
   ================================================ */
.bg-gradient-primary,
.bg-gradient-info,
.btn-gradient-primary {
    background: var(--gradient-teal);
    color: var(--white);
}

.bg-gradient-success {
    background: var(--gradient-coral);
    color: var(--white);
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, #0d9488 0%, #115e59 100%);
    color: var(--white);
}

/* Coral Premium buttons for PRO features */
.btn-violet {
    background: var(--gradient-coral);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-violet:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-coral);
}
