/* ==============================================================
   EaseOnePay S.A. - B2B SaaS Stylesheet (Argentina)
   Palette: Deep Navy (#0A192F), Tech Cyan (#00B4D8, #0077B6), Slate (#F8FAFC)
   ============================================================== */

:root {
    --eop-navy: #0A192F;
    --eop-navy-light: #1E293B;
    --eop-cyan: #00B4D8;
    --eop-cyan-dark: #0077B6;
    --eop-cyan-light: #90E0EF;
    --eop-slate: #64748B;
    --eop-bg-light: #F8FAFC;
    --eop-border: #E2E8F0;
    --eop-success: #10B981;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #334155;
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Montserrat', sans-serif;
    color: var(--eop-navy);
    font-weight: 700;
}

/* --- Top Trust Strip --- */
.top-strip {
    background-color: #061121;
    color: #94A3B8;
    font-size: 0.8rem;
    padding: 7px 0;
    border-bottom: 1px solid #1E293B;
}

.top-strip a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-strip a:hover {
    color: var(--eop-cyan);
}

.strip-badge {
    background-color: rgba(0, 180, 216, 0.15);
    color: var(--eop-cyan);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* --- Header & Navbar --- */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.06);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.main-navbar {
    padding: 12px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--eop-navy);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: #334155;
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--eop-cyan-dark);
}

.navbar-cta-btn {
    background: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
    transition: all 0.25s ease;
    display: inline-block;
}

.navbar-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 180, 216, 0.4);
    color: #FFFFFF !important;
}

/* --- Dropdown Menu --- */
.dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--eop-border);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.1);
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    font-size: 0.88rem;
    padding: 8px 20px;
    color: #334155;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #F1F5F9;
    color: var(--eop-cyan-dark);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #0A192F 0%, #0D213F 100%);
    color: #FFFFFF;
    padding: 70px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.18) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 180, 216, 0.15);
    color: var(--eop-cyan-light);
    border: 1px solid rgba(0, 180, 216, 0.35);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* --- Alternating ZigZag Feature Sections --- */
.zigzag-section {
    padding: 65px 0;
}

.zigzag-section:nth-child(even) {
    background-color: var(--eop-bg-light);
}

.zigzag-step-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--eop-cyan-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.zigzag-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.zigzag-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.zigzag-img-wrapper:hover img {
    transform: scale(1.02);
}

/* --- Feature Cards & Grid --- */
.feature-card {
    background: #FFFFFF;
    border: 1px solid var(--eop-border);
    border-radius: 10px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 25, 47, 0.08);
    border-color: var(--eop-cyan);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--eop-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

/* --- Trust / Integration Badges Bar --- */
.partners-bar {
    background-color: #FFFFFF;
    border-top: 1px solid var(--eop-border);
    border-bottom: 1px solid var(--eop-border);
    padding: 30px 0;
}

.partner-logo-item {
    padding: 10px 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #64748B;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px dashed var(--eop-border);
    background: #FAFBFD;
}

/* --- ROI Calculator Widget --- */
.roi-card {
    background: #0A192F;
    color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(10, 25, 47, 0.2);
    overflow: hidden;
}

.custom-range {
    height: 8px;
    accent-color: var(--eop-cyan);
}

/* --- Custom Success In-Place Alert Card --- */
.success-inplace-card {
    border-radius: 8px;
    border: 1px solid #86EFAC;
    background-color: #F0FDF4;
    padding: 24px;
}

/* --- Footer --- */
.site-footer {
    background-color: #061121;
    color: #94A3B8;
    padding: 60px 0 30px 0;
    font-size: 0.88rem;
    border-top: 1px solid #1E293B;
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    margin-bottom: 9px;
}

.footer-links a:hover {
    color: var(--eop-cyan);
}

/* --- High Contrast Utility & Navy Container Fix --- */
.bg-navy {
    background: linear-gradient(145deg, #061121 0%, #0A192F 50%, #0F2744 100%) !important;
    color: #FFFFFF !important;
}

.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6 {
    color: #FFFFFF !important;
}

.bg-navy p, .bg-navy span, .bg-navy div, .bg-navy li {
    color: #E2E8F0;
}

.bg-navy .text-light {
    color: #CBD5E1 !important;
}

.bg-navy .text-muted {
    color: #94A3B8 !important;
}

/* --- Fintech SaaS Live Tech & Sales Widget (EaseOnePay Distinct Identity) --- */
.eop-live-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.eop-widget-trigger {
    background: linear-gradient(135deg, #0A192F 0%, #0077B6 100%);
    color: #FFFFFF !important;
    border: 1px solid #00B4D8;
    padding: 10px 18px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.eop-widget-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.5);
    background: linear-gradient(135deg, #0D213F 0%, #0096C7 100%);
}

.eop-pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #10B981;
    border-radius: 50%;
    margin-right: 8px;
    display: inline-block;
    box-shadow: 0 0 8px #10B981;
    animation: eopPulse 2s infinite;
}

@keyframes eopPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.eop-widget-popover {
    position: absolute;
    bottom: 56px;
    right: 0;
    width: 330px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 16px 45px rgba(10, 25, 47, 0.25);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: none;
    animation: fadeInEop 0.25s ease-out forwards;
}

.eop-widget-popover.active {
    display: block;
}

@keyframes fadeInEop {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.eop-widget-header {
    background: linear-gradient(135deg, #0A192F 0%, #0077B6 100%);
    padding: 16px 18px;
    color: #FFFFFF;
}

.eop-widget-body {
    padding: 12px 14px;
    background: #FFFFFF;
}

.eop-channel-badge {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    color: #475569;
    text-align: center;
}

.eop-channel-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s;
    margin-bottom: 6px;
    border: 1px solid transparent;
}

.eop-channel-item:last-child {
    margin-bottom: 0;
}

.eop-channel-item:hover {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

.eop-channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 15px;
    margin-right: 12px;
    flex-shrink: 0;
}

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