/* ══════════════════════════════════════════════════════════
   ODOO PAGES – SHARED STYLES
   Shared CSS for: migration, customization, developer,
   support, testing, ats, odoo-hrms, pricing, reseller,
   mobile-application
   ══════════════════════════════════════════════════════════ */

/* ── HERO (shared across all Odoo sub-pages) ───────────── */
.op-hero {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 20, 60, .88) 0%, rgba(0, 74, 153, .78) 60%, rgba(0, 97, 194, .70) 100%)
}

.op-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .45
}

.op-hero-inner {
    position: relative;
    z-index: 2;
    padding: 100px 0 80px
}

.op-hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center
}

.op-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px
}

.op-hero .op-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .78);
    max-width: 660px;
    line-height: 1.75;
    margin-bottom: 28px
}

/* ── OVERVIEW LAYOUT ───────────────────────────────────── */
.op-overview-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center
}

.op-overview-cta-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: var(--blue-pale);
    border-left: 3px solid var(--blue);
    border-radius: 0 10px 10px 0;
    margin: 24px 0
}

.op-overview-cta-box i {
    font-size: 1.3rem;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px
}

.op-overview-cta-box p {
    margin: 0;
    font-size: .92rem;
    font-weight: 500;
    color: var(--dark)
}

.op-overview-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

/* ── BLUE CARD (right side of overview) ────────────────── */
.op-blue-card {
    background: var(--blue);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden
}

.op-blue-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 22px 22px
}

.op-blue-card-inner {
    position: relative;
    z-index: 2
}

.op-blue-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 24px
}

.op-blue-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.op-blue-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    transition: background .2s
}

.op-blue-list li:hover {
    background: rgba(255, 255, 255, .13)
}

.op-blue-list-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0
}

.op-blue-list-text strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px
}

.op-blue-list-text span {
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5
}

/* ── STEP CARDS GRID ───────────────────────────────────── */
.op-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.op-step-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 30px 24px 26px;
    position: relative;
    overflow: hidden;
    transition: all .25s
}

.op-step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s
}

.op-step-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
    border-color: transparent
}

.op-step-card:hover::after {
    transform: scaleX(1)
}

.op-step-num {
    font-family: 'Manrope', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--blue);
    background: var(--blue-light);
    border-radius: 100px;
    padding: 3px 11px;
    display: inline-block;
    margin-bottom: 16px
}

.op-step-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
    transition: background .22s, color .22s
}

.op-step-card:hover .op-step-icon {
    background: var(--blue);
    color: #fff
}

.op-step-card h5 {
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px
}

.op-step-card p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0
}

/* ── FEATURE / BENEFIT CARDS ───────────────────────────── */
.op-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.op-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 22px;
    transition: all .25s
}

.op-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-3px);
    border-color: var(--blue)
}

.op-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
    transition: all .22s
}

.op-card:hover .op-card-icon {
    background: var(--blue);
    color: #fff
}

.op-card h5 {
    font-family: 'Manrope', sans-serif;
    font-size: .92rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px
}

.op-card p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0
}

/* ── BENEFITS LIST (horizontal items) ──────────────────── */
.op-benefit-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: stretch
}

.op-benefit-list {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.op-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    transition: all .22s
}

.op-benefit-item:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(0, 74, 153, .08);
    transform: translateX(4px)
}

.op-benefit-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all .22s
}

.op-benefit-item:hover .op-benefit-item-icon {
    background: var(--blue);
    color: #fff
}

.op-benefit-item-body h5 {
    font-family: 'Manrope', sans-serif;
    font-size: .92rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px
}

.op-benefit-item-body p {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55
}

/* ── CTA SIDEBAR (dark blue panel) ─────────────────────── */
.op-cta-panel {
    background: linear-gradient(135deg, #001e4a 0%, #004a99 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative
}

.op-cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 36px 36px
}

.op-cta-panel-inner {
    position: relative;
    z-index: 2;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 16px
}

.op-cta-panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff
}

.op-cta-panel h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0
}

.op-cta-panel p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
    margin: 0;
    line-height: 1.65
}

/* ── TESTIMONIAL (shared) ──────────────────────────────── */
.op-tst {
    padding: 72px 0;
    background: var(--bg)
}

.op-tst-wrap {
    text-align: center;
    max-width: 680px;
    margin: 0 auto
}

.op-tst-mark {
    color: var(--blue);
    font-size: 2.8rem;
    margin-bottom: 12px
}

.op-tst blockquote {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.7;
    border: none;
    padding: 0;
    margin: 0 0 24px
}

.op-tst-divider {
    width: 48px;
    height: 3px;
    background: var(--blue);
    border-radius: 3px;
    margin: 0 auto 24px
}

.op-tst-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap
}

.op-tst-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: .85rem;
    font-weight: 800
}

.op-tst-info {
    text-align: left
}

.op-tst-info strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    color: var(--dark)
}

.op-tst-info span {
    font-size: .8rem;
    color: var(--muted)
}

.op-tst-stars {
    color: #f59e0b;
    font-size: .88rem;
    display: flex;
    gap: 2px
}

/* ── FAQ (shared) ──────────────────────────────────────── */
.op-faq .accordion-item {
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    margin-bottom: 12px;
    box-shadow: var(--sh-sm)
}

.op-faq .accordion-button {
    font-family: 'Manrope', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark) !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 18px 20px
}

.op-faq .accordion-button:not(.collapsed) {
    color: var(--blue) !important
}

.op-faq .accordion-body {
    font-size: .9rem;
    color: var(--muted);
    padding: 0 20px 18px;
    line-height: 1.75
}

/* ── GET STARTED CARD ──────────────────────────────────── */
.op-start-card {
    background: var(--blue-pale);
    border: 1px solid rgba(0, 74, 153, .1);
    border-radius: 20px;
    padding: 40px 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.op-start-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px
}

.op-start-card p {
    font-size: .95rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0
}

.op-start-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

/* ── PRICING CARDS ─────────────────────────────────────── */
.op-price-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all .25s
}

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

.op-price-card.op-featured {
    border: 2px solid var(--blue);
    transform: translateY(-8px)
}

.op-price-card.op-featured:hover {
    transform: translateY(-12px)
}

.op-price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    font-family: 'Manrope', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    border-radius: 999px;
    text-transform: uppercase;
    z-index: 2
}

.op-price-head {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border)
}

.op-price-head h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px
}

.op-price-val {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1
}

.op-price-val small {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 400
}

.op-price-note {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 6px
}

.op-price-body {
    padding: 20px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.op-price-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    gap: 9px;
    flex: 1
}

.op-price-body ul li {
    font-size: .88rem;
    color: var(--mid);
    display: flex;
    align-items: flex-start;
    gap: 8px
}

.op-price-body ul li::before {
    content: "\f26b";
    font-family: "bootstrap-icons";
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 1px;
    font-size: .85rem
}

/* ── TABS (testing page) ───────────────────────────────── */
.op-tabs .nav-tabs {
    border-bottom: 2px solid var(--border);
    gap: 4px;
    flex-wrap: wrap
}

.op-tabs .nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
    border: none;
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    transition: all .2s
}

.op-tabs .nav-link:hover {
    color: var(--blue);
    background: var(--blue-pale)
}

.op-tabs .nav-link.active {
    color: var(--blue);
    background: var(--blue-pale);
    border-bottom: 2px solid var(--blue)
}

.op-tabs .tab-pane {
    padding: 32px 0 0
}

/* ── PARTNER TIERS ─────────────────────────────────────── */
.op-tier-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 26px;
    text-align: center;
    height: 100%;
    transition: all .25s
}

.op-tier-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
    border-color: var(--blue)
}

.op-tier-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 18px;
    transition: all .22s
}

.op-tier-card:hover .op-tier-icon {
    background: var(--blue);
    color: #fff
}

.op-tier-card h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px
}

.op-tier-card p {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0
}

/* ── HERO STAT GRID (mobile app, reseller) ─────────────── */
.op-hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.op-hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    transition: background .2s
}

.op-hero-stat:hover {
    background: rgba(255, 255, 255, .14)
}

.op-hero-stat i {
    font-size: 1.3rem;
    color: #60a5fa;
    flex-shrink: 0
}

.op-hero-stat span {
    font-family: 'Manrope', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .9);
    line-height: 1.35
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media(max-width:991px) {
    .op-overview-layout {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .op-steps-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .op-cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .op-benefit-layout {
        grid-template-columns: 1fr
    }

    .op-price-card.op-featured {
        transform: none
    }

    .op-price-card.op-featured:hover {
        transform: translateY(-4px)
    }

    .op-hero-stat-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:767px) {
    .op-hero-inner {
        padding: 80px 0 60px
    }

    .op-steps-grid,
    .op-cards-grid {
        grid-template-columns: 1fr
    }

    .op-start-card {
        padding: 28px 22px;
        flex-direction: column;
        align-items: flex-start
    }

    .op-overview-actions {
        flex-direction: column;
        align-items: flex-start
    }

    .op-hero-stat-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:575px) {
    .op-cta-panel-inner {
        padding: 28px 22px
    }

    .op-hero-stat-grid {
        grid-template-columns: 1fr
    }
}