/* Entity Service specific styles — Aligned with Solann High-End Design System */
:root {
    --bs-primary-rgb: 45, 106, 79;
    --bs-primary: #2D6A4F;
    --bs-light-green: #F0FDF4;
    --entity-primary: #2D6A4F;
    --entity-secondary: #40916C;
    --entity-accent: #52B788;
    --entity-light: #F0FDF4;
    --entity-dark: #0f172a;
    --entity-gradient: linear-gradient(135deg, #1b4332 0%, #2D6A4F 60%, #40916C 100%);
}

body {
    font-family: 'Open Sans', 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', 'Segoe UI', Roboto, sans-serif;
}

.text-primary-gradient {
    background: linear-gradient(90deg, #2D6A4F, #40916C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Primary buttons */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1b402f;
    border-color: #1b402f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
}

.entity-btn {
    background-color: var(--entity-primary);
    color: white !important;
    border: 1px solid var(--entity-primary);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.entity-btn:hover {
    background-color: #1b402f;
    border-color: #1b402f;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.3);
}

.entity-btn-outline {
    background-color: transparent;
    color: white !important;
    border: 2px solid white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.entity-btn-outline:hover {
    background-color: white;
    color: var(--entity-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.entity-hero {
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.95) 0%, rgba(45, 106, 79, 0.92) 50%, rgba(64, 145, 108, 0.88) 100%), no-repeat center center;
    background-size: cover;
    padding: 5.5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.entity-hero .container {
    position: relative;
    z-index: 2;
}

.entity-badge {
    background-color: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.entity-badge i {
    color: #ffd166;
}

.entity-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.entity-hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.compact-risk-alert {
    backdrop-filter: blur(8px);
    border-radius: 12px;
}

.disambiguation-notice {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.disambiguation-notice a {
    color: #ffd166 !important;
    transition: color 0.2s ease;
}

.disambiguation-notice a:hover {
    color: #ffffff !important;
}

/* Section typography */
.section-title {
    font-weight: 800;
    position: relative;
}

.hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45, 106, 79, 0.12) !important;
}

/* Pricing Cards */
.price-card {
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(45, 106, 79, 0.12);
}

.price-card-popular {
    border: 2px solid var(--bs-primary) !important;
    box-shadow: 0 12px 35px rgba(45, 106, 79, 0.18) !important;
}

@media (min-width: 992px) {
    .price-card-popular {
        transform: scale(1.03);
    }
    .price-card-popular:hover {
        transform: scale(1.03) translateY(-8px);
        box-shadow: 0 24px 45px rgba(45, 106, 79, 0.25) !important;
    }
}

.package-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    background: #fff;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: var(--bs-primary);
}

.fs-7 {
    font-size: 0.825rem;
}

/* Full Width Hero Warranty Banner */
.solution-warranty-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #1b4332 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Solution Card (Dải màu gradient trên đầu) */
.solution-card {
    background: #ffffff;
    border: 1px solid rgba(45, 106, 79, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.04);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2D6A4F 0%, #52B788 100%);
    opacity: 0.8;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(45, 106, 79, 0.12);
    border-color: rgba(45, 106, 79, 0.3);
}

.solution-card:hover::before {
    height: 6px;
    opacity: 1;
}

/* Process Step Card (Cho 5 Sprint) */
.process-step-card {
    background: #ffffff;
    border: 1px solid rgba(45, 106, 79, 0.12);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.process-step-card:hover {
    transform: translateX(6px);
    box-shadow: 0 16px 36px rgba(45, 106, 79, 0.12);
    border-color: rgba(45, 106, 79, 0.3);
}

.process-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2D6A4F 0%, #40916C 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(45, 106, 79, 0.25);
    flex-shrink: 0;
}

/* Comparison Matrix Table Styles */
.comparison-matrix-card {
    background: #ffffff;
    border: 1px solid rgba(45, 106, 79, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.comparison-table {
    min-width: 620px;
    margin-bottom: 0;
}

.comparison-table th {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    vertical-align: middle;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table td {
    padding: 1.1rem 1rem;
    font-size: 0.925rem;
    vertical-align: middle;
    border-color: rgba(0, 0, 0, 0.06);
    color: #334155;
    line-height: 1.55;
}

.comparison-table tbody tr:hover {
    background-color: rgba(45, 106, 79, 0.03);
}

.border-lg-end-custom {
    border-right: 1px solid #e2e8f0;
}

.border-lg-start-custom {
    border-left: 1px solid #e2e8f0;
}

@media (max-width: 991.98px) {
    .border-lg-end-custom {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .border-lg-start-custom {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-top: 1.5rem;
        margin-top: 0.5rem;
    }
}

.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: var(--bs-light-green);
}

/* ==========================================================================
   Pricing Section Typography & High-Contrast Readability Polish
   ========================================================================== */

/* Pricing Card Header Badges (Crisp, High-Contrast) */
.price-card .badge-target {
    font-size: 0.825rem;
    font-weight: 700;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    display: inline-block;
    letter-spacing: 0.2px;
}

.badge-target-foundation {
    background-color: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.badge-target-authority {
    background-color: #e8f5e9;
    color: #1b4332;
    border: 1px solid #a3cfbb;
}

.badge-target-enterprise {
    background-color: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
}

/* Subtitle under Card Title */
.price-card-subtitle {
    font-size: 0.925rem;
    color: #334155;
    font-weight: 500;
    margin-top: 0.35rem;
    margin-bottom: 0;
}

/* Price Value & Unit */
.price-card-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--entity-primary);
    line-height: 1.2;
    margin: 1rem 0;
}

.price-card-value-dark {
    color: #0f172a;
}

.price-card-currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748b;
}

/* Bullet Features List */
.price-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-card-features li {
    font-size: 0.935rem;
    line-height: 1.55;
    color: #334155;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.price-card-features li:last-child {
    margin-bottom: 0;
}

.price-card-features li strong {
    color: #0f172a;
    font-weight: 700;
}

.price-card-features .feature-icon {
    color: var(--entity-primary);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    margin-right: 0.55rem;
    flex-shrink: 0;
}

/* Fix inline code inside pricing cards - Replace jarring pink with clean tech badge */
.price-card code {
    color: #1b4332 !important;
    background-color: #e8f5e9 !important;
    padding: 0.15rem 0.4rem !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.85em !important;
    border: 1px solid rgba(45, 106, 79, 0.2) !important;
}

/* Execution Duration Badge */
.price-duration-badge {
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background-color: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.price-duration-badge i {
    color: var(--entity-primary);
}

.price-card-popular .price-duration-badge {
    background-color: #e8f5e9;
    color: #1b4332;
    border-color: #a3cfbb;
}

/* High Contrast Card Action Buttons */
.btn-entity-outline {
    color: var(--entity-primary) !important;
    border: 2px solid var(--entity-primary) !important;
    background-color: transparent !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-entity-outline:hover {
    background-color: var(--entity-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.25);
}

.btn-entity-solid {
    background-color: var(--entity-primary) !important;
    border: 2px solid var(--entity-primary) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-entity-solid:hover {
    background-color: #1b402f !important;
    border-color: #1b402f !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(45, 106, 79, 0.35);
}

.btn-enterprise-outline {
    color: #0f172a !important;
    border: 2px solid #0f172a !important;
    background-color: transparent !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.btn-enterprise-outline:hover {
    background-color: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

/* Pricing Tab Switcher */
.pricing-tab-nav {
    background: #e2e8f0;
    padding: 0.35rem;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.pricing-tab-btn {
    border: none;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.pricing-tab-btn:hover {
    color: #0f172a;
}

.pricing-tab-btn.active {
    background: var(--entity-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}

/* Social Platform Badges */
.social-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.social-platform-badge:hover {
    border-color: var(--entity-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(45, 106, 79, 0.12);
}

.social-platform-badge .dr-pill {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-weight: 700;
}

/* Code Editor Preview Box */
.code-editor-box {
    background: #0f172a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    border: 1px solid #334155;
    text-align: left;
}

.code-editor-header {
    background: #1e293b;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.code-editor-dots {
    display: flex;
    gap: 7px;
}

.code-editor-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.code-editor-body {
    padding: 1.25rem 1.5rem;
    color: #e2e8f0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 380px;
    overflow-y: auto;
    margin: 0;
}

.code-keyword { color: #f43f5e; font-weight: bold; }
.code-string { color: #38bdf8; }
.code-key { color: #a78bfa; font-weight: 600; }
.code-comment { color: #64748b; font-style: italic; }


