/* FINTECH THEME GLOBAL STYLES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #EDE9FE;
    --dark: #0F081C;
    --darker: #05020A;
    --gray-light: #F8F9FE;
    --gray-text: #6B7280;
    --white: #FFFFFF;
}

html, body {
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif !important;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* NAVBAR CAPSULE */
.fintech-nav-wrapper {
    padding: 20px 0;
    transition: all 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
}
.navbar.fintech-capsule {
    background: linear-gradient(90deg, #6B21A8 0%, #2E1065 100%);
    border-radius: 16px;
    padding: 12px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.05);
    width: 100%;
}
.fintech-capsule .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 30px;
    position: relative;
}
.fintech-capsule .navbar-brand::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.fintech-capsule .brand-name {
    color: #FFF !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: 0 !important;
    text-transform: none !important;
}
.fintech-capsule .brand-text {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    text-transform: none !important;
}
.fintech-capsule .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500 !important;
    font-size: 15px;
    padding: 10px 30px !important;
    transition: color 0.3s;
    position: relative;
    text-transform: none !important;
    letter-spacing: 0.3px;
}
.fintech-capsule .nav-link:hover {
    color: var(--white) !important;
}
.fintech-capsule .nav-item.active .nav-link,
.fintech-capsule .nav-link.active {
    color: var(--white) !important;
}
.fintech-capsule .nav-item.active .nav-link::after,
.fintech-capsule .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}
.btn-nav-outline {
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white) !important;
    border-radius: 30px;
    padding: 8px 24px !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 15px;
}
.btn-nav-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* HERO SECTION */
.hero-fintech {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/vitaly-gariev-1JnN9QhmTGU-unsplash.jpg') center/cover no-repeat;
}
.hero-overlay {
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(15,8,28,0.85);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}
.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 30px;
    text-transform: none !important;
}
.hero-title span {
    color: var(--primary);
}
.hero-text {
    font-size: 20px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 400;
}
.btn-primary-fintech {
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: 0 10px 20px rgba(124,58,237,0.3);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary-fintech:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(124,58,237,0.4);
    color: var(--white);
    text-decoration: none;
}
.btn-secondary-fintech {
    color: var(--white);
    padding: 16px 32px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}
.btn-secondary-fintech:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.hero-footer-text {
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    margin-top: 80px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* SECTION TITLES */
.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 18px;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* VALUE PROPOSITION (TODO LO QUE NECESITAS) */
.value-section {
    background-color: var(--gray-light);
    padding: 8rem 0;
}
.value-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124,58,237,0.08);
}
.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
}
.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}
.value-card p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* DASHBOARD SECTION */
.dashboard-section {
    padding: 8rem 0;
    background: var(--white);
    overflow: hidden;
}
.dashboard-mockup-container {
    position: relative;
    margin: 60px auto 0;
    max-width: 75%;
    perspective: 1500px;
}
.dashboard-img {
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        0 40px 100px rgba(124,58,237,0.2),
        0 0 0 12px rgba(255,255,255,1);
    width: 100%;
    transform: rotateX(8deg) rotateY(-8deg) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid #F3F4F6;
}
.dashboard-img:hover {
    transform: rotateX(2deg) rotateY(-2deg) scale(1);
}
.indicator-pill {
    position: absolute;
    background: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.indicator-pill i {
    color: var(--primary);
    font-size: 18px;
}
.pill-1 { top: -20px; left: 10%; animation-delay: 0s; }
.pill-2 { bottom: 40px; left: -5%; animation-delay: 2s; }
.pill-3 { top: 50%; right: -5%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* API SECTION */
.api-section {
    padding: 8rem 0;
    background: var(--gray-light);
}
.api-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,58,237,0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}
.api-text-block {
    padding-right: 40px;
}
.api-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.api-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
}
.api-feature-item i {
    color: var(--primary);
}
.api-mockup {
    background: var(--darker);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}
.api-mockup::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; height: 5px;
    background: linear-gradient(90deg, var(--primary), #3B82F6);
}
.code-block {
    color: #A78BFA;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.8;
}
.code-block span.key { color: #60A5FA; }
.code-block span.val { color: #34D399; }
.code-block span.str { color: #FBBF24; }

/* SECURITY SECTION */
.security-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--white) 0%, #FAFAFF 100%);
}
.security-card {
    text-align: center;
    padding: 30px 20px;
}
.security-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}
.security-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}
.security-card p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* WHY GUARDPAY */
.why-section {
    padding: 8rem 0;
    background: var(--dark);
    color: var(--white);
}
.why-section .section-title {
    color: var(--white);
}
.why-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}
.why-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s;
    height: 100%;
}
.why-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(124,58,237,0.3);
}
.why-icon {
    background: rgba(124,58,237,0.2);
    color: #A78BFA;
    min-width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.why-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}
.why-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0;
}

/* FINAL CTA */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #17053B 0%, #2D0C65 100%);
    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(124,58,237,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* CONTACT FORM */
.contact-fintech {
    padding: 8rem 0;
    background: var(--white);
}
.contact-box {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
}
.form-fintech .form-control {
    background: var(--gray-light);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 15px;
    color: var(--dark);
    margin-bottom: 20px;
    transition: all 0.3s;
    height: auto;
}
.form-fintech textarea.form-control {
    min-height: 120px;
}
.form-fintech .form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}
.btn-submit-fintech {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}
.btn-submit-fintech:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.contact-image-wrapper {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
.footer-fintech {
    background: var(--darker);
    padding: 60px 0 30px;
    color: rgba(255,255,255,0.6);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.footer-brand img {
    height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.footer-slogan {
    font-size: 14px;
    margin-bottom: 30px;
}
.footer-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--primary-light);
}
.footer-contact p {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-contact i {
    color: var(--primary);
    margin-right: 10px;
    width: 15px;
}
.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
}

/* UTILS & RESPONSIVE */
@media (max-width: 991px) {
    .navbar.fintech-capsule {
        border-radius: 12px;
        background: linear-gradient(90deg, #6B21A8 0%, #2E1065 100%);
        padding: 10px 20px;
    }
    .fintech-capsule .navbar-brand::after {
        display: none;
    }
    .fintech-capsule .navbar-collapse {
        background: rgba(15, 8, 28, 0.95);
        border-radius: 12px;
        margin-top: 15px;
        padding: 10px 0;
        text-align: center;
        border: 1px solid rgba(255,255,255,0.05);
    }
    .fintech-capsule .nav-link {
        padding: 12px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .fintech-capsule .nav-link.active::after,
    .fintech-capsule .nav-item.active .nav-link::after {
        display: none;
    }
    .fintech-capsule .nav-link.active,
    .fintech-capsule .nav-item.active .nav-link {
        color: var(--primary-light) !important;
        font-weight: 700 !important;
    }
    .btn-nav-outline {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        border: none;
        background: var(--primary);
    }
    .hero-title { font-size: 40px; }
    .indicator-pill { display: none; }
    .section-title { font-size: 32px; }
    .contact-box { padding: 30px; }
    .api-text-block { padding-right: 0; margin-bottom: 40px; }
    .contact-image-wrapper { margin-top: 40px; height: 300px; }
}
