/* --- Root Variables Inspired by app-HSxA2uDA.css --- */
:root {
    --bs-primary: #39afd0;
    --bs-bronze: #cd7f32;
    /* classic bronze */
    --bs-gold: #ffd700;
    /* bright gold */
    --bs-diamond: #34ebc9;
    /* icy diamond blue */
    /* Your primary color */
    --bs-primary-rgb: 57, 175, 208;
    --bs-secondary: #764ba2;
    /* From custom.css for gradient potential */
    --bs-secondary-rgb: 118, 75, 162;
    --bs-body-font-family: 'Space Grotesk', sans-serif;
    /* Font from app-HSxA2uDA.css */
    --bs-body-color: #39afd0;
    /* Default text color from app-HSxA2uDA.css */
    --bs-border-color: #e2e8ee;
    /* Border color from app-HSxA2uDA.css */
    --bs-body-bg: #f8f9fd;
    /* Slightly off-white bg inspired by app-HSxA2uDA.css */
    --bs-card-border-color: var(--bs-border-color);
    --bs-card-box-shadow: 0 2px 2px #0000000d;
    /* Inspired by app-HSxA2uDA.css classic style */
    --bs-card-border-radius: 0.5rem;
    /* Consistent radius */
    --bs-light-rgb: 250, 248, 253;
    /* Light color from app-HSxA2uDA.css */
    --primary01: rgba(var(--bs-primary-rgb), .1);
    --primary02: rgba(var(--bs-primary-rgb), .2);
    --primary03: rgba(var(--bs-primary-rgb), .3);
    --primary05: rgba(var(--bs-primary-rgb), .5);
    --primary08: rgba(var(--bs-primary-rgb), .8);
    --success-rgb: 50, 212, 132;
    /* Define success RGB for pricing card icons */
    --warning-rgb: 253, 175, 34;
    /* Define warning RGB for pricing card icons */

}

body {
    font-family: var(--bs-body-font-family);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    scroll-behavior: smooth;
}

/* --- Custom Bootstrap Overrides --- */
.btn {
    font-weight: 500;
    /* Adjusted weight */
    padding: 0.6rem 1.4rem;
    /* Slightly adjusted padding */
    border-radius: var(--bs-card-border-radius);
    /* Consistent radius */
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

/* Primary Button with Gradient inspiration */
.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #2a90ab 100%);
    /* Subtle Gradient */
    border-color: transparent;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #2a90ab 0%, var(--bs-primary) 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.3);
    color: #fff !important;
}

/* Outline Button */
.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background-color: transparent;
    font-weight: 600;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--bs-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(var(--bs-primary-rgb), 0.2);
}

.btn-lg {
    padding: 0.8rem 1.7rem;
    /* Adjusted padding */
    font-size: 1rem;
    /* Adjusted size */
}

.text-primary {
    color: var(--bs-primary) !important;
}

/* --- Navbar - subtle gradient, border --- */
.navbar {
    background: linear-gradient(to bottom, #fff 0%, #f8f9fd 100%);
    /* Subtle gradient */
    border-bottom: 1px solid var(--bs-border-color);
    box-shadow: var(--bs-card-box-shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--bs-primary) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--bs-body-color);
    opacity: 1;
    transition: all 0.2s ease;
    padding: .6rem 1rem !important;
    border-radius: var(--bs-card-border-radius);
}

.nav-link.active,
.nav-link:hover {
    color: var(--bs-primary) !important;
    background-color: var(--primary01);
    font-weight: 600;
    opacity: 1;
}

/* --- Section Styling --- */
.section-padding {
    padding: 60px 0;
    /* Slightly reduced padding */
}

.bg-primary-light {
    background-color: var(--primary01);
    /* Use primary transparent color */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    /* Default heading weight */
    color: var(--bs-body-color);
}

h1.display-4 {
    font-weight: 700;
}

h2.section-title {
    font-size: 2.2rem;
    /* Adjusted size */
    font-weight: 700;
    margin-bottom: 30px;
    /* Reduced margin */
}

/* --- Hero Section --- */
.hero-section {
    padding: 80px 0;
    background-color: #fff;
    /* White bg */
    border-bottom: 1px solid var(--bs-border-color);
}

.hero-section h1 {
    font-size: 3rem;
    /* Adjusted size */
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    /* Adjusted size */
    color: #5d6576;
    /* Muted color from app-HSxA2uDA.css */
}

/* --- Features Section --- */
.feature-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    /* Adjusted size */
    height: 60px;
    /* Adjusted size */
    background-color: var(--primary01);
    /* Use primary transparent */
    border-radius: var(--bs-card-border-radius);
    /* Consistent radius */
    margin-bottom: 15px;
    /* Reduced margin */
}

.feature-icon {
    font-size: 2rem;
    /* Adjusted size */
    color: var(--bs-primary);
}

.feature-card {
    background: #fff;
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
    box-shadow: var(--bs-card-box-shadow);
    padding: 25px;
    /* Adjusted padding */
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid transparent;
    /* Prepare for hover effect */
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top-color: var(--bs-primary);
    /* Add top border on hover */
}

.feature-card h3 {
    font-size: 1.1rem;
    /* Adjusted size */
    font-weight: 600;
}

/* --- Workflow Section --- */
.workflow-step {
    text-align: center;
    padding: 15px;
    /* Adjusted padding */
}

.workflow-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    /* Adjusted size */
    height: 45px;
    /* Adjusted size */
    background-color: var(--bs-primary);
    color: #fff;
    font-size: 1.3rem;
    /* Adjusted size */
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: 10px;
    /* Reduced margin */
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

/* --- Analytics Section --- */
.analytics-image {
    border-radius: var(--bs-card-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Slightly softer shadow */
}

/* --- User Roles Section --- */
#roles .border {
    border-color: var(--bs-border-color) !important;
    border-radius: var(--bs-card-border-radius);
    transition: all 0.3s ease;
}

#roles .border:hover {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 8px 25px rgba(var(--bs-primary-rgb), 0.1);
    transform: translateY(-3px);
}

/* --- Pricing Section --- */
.bg-primary-transparent {
    background-color: var(--primary01) !important;
    /* Use variable */
    color: var(--bs-primary) !important;
}

.badge.bg-primary-transparent {
    font-weight: 500;
    /* Adjusted weight */
    font-size: 0.8rem;
    /* Adjusted size */
    padding: 0.4rem 0.8rem;
    /* Adjusted padding */
}

.tab-style-1 {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
}

.tab-style-1 .nav-pills .nav-link {
    color: var(--bs-body-color);
    font-weight: 500 !important;
    /* Adjusted weight */
    opacity: 1;
}

.tab-style-1 .nav-pills .nav-link.active {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.2);
    /* Softer shadow */
    opacity: 1;
}

.pricing-card {
    border: 1px solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);
    box-shadow: var(--bs-card-box-shadow);
    transition: all 0.3s ease;
    position: relative;
    /* For recommended badge */
    display: flex;
    /* Makes card a flex container */
    flex-direction: column;
    /* Stacks children vertically */
    background-color: #fff;
    height: 100%;
    /* Ensure cards are same height */
}

.pricing-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allows card body to fill height */
}

.pricing-card .card-body .d-grid {
    margin-top: auto;
    /* Pushes button to the bottom */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- Recommended Plan Pop --- */
.pricing-card.pricing-success {
    border-color: var(--bs-primary);
    box-shadow: 0 10px 30px rgba(var(--bs-primary-rgb), 0.15);
    /* Adjusted shadow */
    transform: scale(1.03);
    z-index: 10;
}

.pricing-card.pricing-success:hover {
    transform: scale(1.03) translateY(-5px);
    /* Keep scale on hover */
    box-shadow: 0 12px 35px rgba(var(--bs-primary-rgb), 0.2);
}

.pricing-card .avatar {
    width: 50px;
    /* Adjusted size */
    height: 50px;
    /* Adjusted size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    /* Consistent radius */
}

.pricing-card .avatar svg {
    width: 25px;
    /* Adjusted size */
    height: 25px;
    /* Adjusted size */
    stroke: currentColor;
    fill: currentColor;
    stroke-width: 0.5;
}

/* Pricing card icon backgrounds */
.pricing-card .avatar.bg-primary-transparent {
    background-color: var(--primary01) !important;
    filter: drop-shadow(0 4px 8px rgba(var(--bs-primary-rgb), 0.2));
    /* Added subtle shadow */
}

.pricing-card .avatar.bg-success-transparent {
    background-color: rgba(var(--success-rgb, 50, 212, 132), 0.1) !important;
    filter: drop-shadow(0 4px 8px rgba(var(--success-rgb, 50, 212, 132), 0.2));
}

.pricing-card .avatar.bg-warning-transparent {
    background-color: rgba(var(--warning-rgb, 253, 175, 34), 0.1) !important;
    filter: drop-shadow(0 4px 8px rgba(var(--warning-rgb, 253, 175, 34), 0.2));
}

.pricing-card .avatar.bg-bronze-transparent {
    background-color: rgba(205, 127, 50, 0.1) !important;
    /* var(--bs-bronze) at 10% opacity */
    filter: drop-shadow(0 4px 8px rgba(--bronze-rgb, 127, 50, 0.2));
    /* Subtle bronze glow */
}

.pricing-card .avatar.bg-gold-transparent {
    background-color: rgba(255, 215, 0, 0.1) !important;
    /* var(--bs-gold) at 10% opacity */
    filter: drop-shadow(0 4px 8px rgba(--gold-rgb, 215, 0, 0.2));
    /* Subtle gold glow */
}

.pricing-card .avatar.bg-diamond-transparent {
    background-color: rgba(185, 242, 255, 0.1) !important;
    /* var(--bs-diamond) at 10% opacity */
    filter: drop-shadow(0 4px 8px rgba(--diamond-rgb, 242, 255, 0.2));
    /* Subtle diamond glow */
}

/* Specific colors for icons */
.svg-primary svg {
    color: var(--bs-primary) !important;
    fill: var(--bs-primary) !important;
    stroke: var(--bs-primary) !important;
}

.svg-success svg {
    color: rgb(var(--success-rgb, 50, 212, 132)) !important;
    fill: rgb(var(--success-rgb, 50, 212, 132)) !important;
    stroke: rgb(var(--success-rgb, 50, 212, 132)) !important;
}

.svg-warning svg {
    color: rgb(var(--warning-rgb, 253, 175, 34)) !important;
    fill: rgb(var(--warning-rgb, 253, 175, 34)) !important;
    stroke: rgb(var(--warning-rgb, 253, 175, 34)) !important;
}

.svg-bronze svg {
    color: var(--bs-bronze) !important;
    fill: var(--bs-bronze) !important;
    stroke: var(--bs-bronze) !important;
}

.svg-gold svg {
    color: var(--bs-gold) !important;
    fill: var(--bs-gold) !important;
    stroke: var(--bs-gold) !important;
}

.svg-diamond svg {
    color: var(--bs-diamond) !important;
    fill: var(--bs-diamond) !important;
    stroke: var(--bs-diamond) !important;
}

.pricing-card h5 {
    font-weight: 600;
    /* Adjusted weight */
}

.pricing-count h2 {
    font-weight: 600;
    /* Adjusted weight */
}

.pricing-features-list {
    padding-left: 0;
    list-style: none;
}

.pricing-features-list li {
    margin-bottom: 0.6rem;
    /* Adjusted spacing */
    color: #5d6576;
    /* Muted color */
    font-size: 0.85rem;
    /* Adjusted size */
    position: relative;
    /* Needed for custom icon positioning */
    /* padding-left: 20px; /* Space for the icon - adjust if needed */
}

/* REMOVED: Automatic checkmark styling */
/* .pricing-features-list li::before {
    content: "\F26A"; /* Bootstrap icon check-circle-fill */
/* font-family: 'bootstrap-icons';
    color: rgb(var(--success-rgb, 50, 212, 132)); /* Default green check */
/* font-weight: bold;
    margin-right: 8px; /* Adjusted spacing */
/* position: absolute; /* Position icon */
/* left: 0;
    top: 2px; /* Adjust vertical alignment */
/*}*/

/* Specific icon for primary card (Individuals) - using dot */
/* .pricing-card.pricing-primary .pricing-features-list li::before {
    content: "\F283"; /* Bootstrap icon circle-fill */
/* color: #fff; /* White icon */
/*}*/

/* Specific icon color for success card (Team Plan) */
/* .pricing-card.pricing-success .pricing-features-list li::before {
    color: rgb(var(--success-rgb, 50, 212, 132)); /* Ensure green check */
/*}*/

/* Specific icon color for warning card (Enterprise Plan) */
/* .pricing-card.pricing-warning .pricing-features-list li::before {
    color: rgb(var(--success-rgb, 50, 212, 132)); /* Ensure green check */
/*}*/

.section-devider {
    border-top: 1px dashed var(--bs-border-color);
    /* Use variable */
}

.pricing-recommended-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    /* Adjusted size */
    font-weight: 500;
    /* Adjusted weight */
    border-radius: 0.25rem;
    padding: 0.2rem 0.5rem;
    /* Adjusted padding */
}

/* Styling for the first pricing card */
.pricing-card.pricing-primary {
    background-color: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

.pricing-card.pricing-primary .text-muted,
.pricing-card.pricing-primary .fs-13,
.pricing-card.pricing-primary .fs-6.text-muted,
.pricing-card.pricing-primary .pricing-features-list li {
    color: rgba(255, 255, 255, 0.85) !important;
    /* Lighter text on dark bg */
}

.pricing-card.pricing-primary .btn-outline-light {
    color: var(--bs-primary);
    background-color: #fff;
    border-color: #fff;
    font-weight: 600;
}

.pricing-card.pricing-primary .btn-outline-light:hover {
    background-color: #f0fafd;
    border-color: #f0fafd;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.pricing-primary .section-devider {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.pricing-primary .avatar.bg-primary-transparent {
    background-color: rgba(255, 255, 255, 0.15) !important;
    filter: none;
}

.pricing-card.pricing-primary .avatar svg {
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
}

.pricing-card.pricing-success .btn-primary,
.pricing-card.pricing-warning .btn-outline-primary {
    font-weight: 600;
}

.pricing-card.pricing-warning .btn-outline-primary:hover {
    color: #fff;
}
