/* ==========================================================================
   FIELDSERVICE CLOUD - MASTER STYLESHEET
   ========================================================================== */

/* ===================================================================
   1. GLOBAL STYLES
   =================================================================== */
/* CSS Variables */
:root {
    --forest-green: #0b6e4f;
    --light-green: #e6f3ec;
    --light-contrast: #f0faf5;
    --accent: #64bc90;
    --trial-blue: #4285f4;
    --trial-blue-hover: #2f6fdf;
}
/* --- Base --- */
body {
    background-color: white;
}

section {
    scroll-margin-top: 60px; /* Offset for sticky nav */
}

/* --- Typography --- */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.75rem;
    color: var(--forest-green);
}

h2 {
    color: var(--forest-green);
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.page-subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.lead {
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.55;
}

.blockquote {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.blockquote-footer {
    display: block;
    font-size: 80%;
    color: #6c757d;
}

/* --- Utility Classes --- */
.forestGreen-text {
    color: var(--forest-green);
}

.main-content {
    padding-top: 5rem;
}

.bg-soft-green {
    background-color: var(--light-green) !important;
}

.benefit-text {
    font-size: 16px;
    line-height: 1.4;
}

/* ===================================================================
   2. BUTTONS
   =================================================================== */

.btn-primary {
    background-color: var(--trial-blue);
    background-image: none;
    color: #fff;
    border: 1px solid var(--trial-blue);
}

    .btn-primary:hover {
        background-color: var(--trial-blue-hover);
        border-color: var(--trial-blue-hover);
        color: #fff;
    }

.btn-secondary {
    background-color: #fff;
    color: var(--forest-green);
    border: 2px solid var(--forest-green);
}

    .btn-secondary:hover {
        background-color: var(--forest-green);
        color: #fff;
    }

.btn-soft-primary {
    background-color: var(--light-green);
    color: var(--forest-green);
    font-weight: 600;
    border: 1px solid var(--forest-green);
}

    .btn-soft-primary:hover {
        background-color: var(--forest-green);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

.navbar-collapse {
    align-items: center;
}

.navbar .navbar-nav {
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

.navbar .navbar-nav > li {
    display: flex;
    align-items: center;
}

.navbar .navbar-nav > li > a {
    display: inline-flex;
    align-items: center;
}

.navbar-auth {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navbar-auth .navbar-nav {
    display: flex;
    align-items: center;
}

.navbar #loginLink {
    line-height: 1;
}

.navbar .nav-cta-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    margin: 0 0.25rem;
    padding: 0 0.95rem !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: none !important;
    white-space: nowrap;
    background-color: #05c95a;
    border: 1px solid #05c95a;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.navbar .nav-cta-primary:hover,
.navbar .nav-cta-primary:focus {
    color: #ffffff !important;
    background-color: #04b14f;
    border-color: #04b14f;
}

.navbar .nav-cta-secondary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    margin: 0 0.9rem 0 0.25rem;
    padding: 0 0.95rem !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: none !important;
    white-space: nowrap;
    background-color: var(--trial-blue);
    border: 1px solid var(--trial-blue);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.navbar .nav-cta-secondary:hover,
.navbar .nav-cta-secondary:focus {
    color: #ffffff !important;
    background-color: var(--trial-blue-hover);
    border-color: var(--trial-blue-hover);
}

.hero-button {
    font-size: 20px;
    padding: 14px 32px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
    margin: 8px;
    display: inline-block;
}

    .hero-button:hover {
        font-weight: bold;
    }

/* ===================================================================
   3. PAGE-WIDE COMPONENTS
   =================================================================== */

/* --- Call-to-Action Section --- */
.cta-section {
    background: var(--forest-green) !important; /* Simplified from linear-gradient */
    color: #fff;
    text-align: center;
    padding: 3rem 2rem;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    /*background-color: var(--light-contrast);*/
    border: 1px solid var(--light-green);
    border-left: 5px solid var(--accent);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* The unbreakable unit for the author's name and comma */
.testimonial-author {
    white-space: nowrap;
    font-weight: 600;
    color: var(--forest-green);
}

/* Styles the company name, giving it equal color prominence */
.testimonial-company {
    font-style: normal;
    font-weight: 500; /* Regular weight for hierarchy */
    color: var(--forest-green); /* Primary brand color */
}
    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .testimonial-card blockquote {
        font-size: 1.05rem;
        line-height: 1.5;
        font-style: italic;
        color: #444;
        min-height: 160px;
    }

    .testimonial-card .blockquote-footer {
        font-weight: 600;
        font-style: normal;
        color: var(--forest-green);
        margin-top: auto;
    }

.testimonial-icon {
    margin-bottom: 1rem;
}

/* --- FAQ Accordion (details/summary) --- */
.faq-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

.faq-container h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem !important;
    font-size: 1.25rem;
}

.faq-container hr {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

details {
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: 4px solid var(--forest-green);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

summary {
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    color: var(--forest-green);
    margin-bottom: 0.5rem;
}

/* FAQ-specific smaller font sizes */
.faq-container details {
    margin-bottom: 0.85rem;
    padding: 0.95rem 1.15rem;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-container summary {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.faq-container details[open] summary {
    margin-bottom: 0.65rem;
}

.faq-container details p {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .faq-container {
        padding: 1rem 0 1.5rem;
    }

    .faq-container details {
        padding: 0.85rem 1rem;
        margin-bottom: 0.75rem;
    }

    .faq-container summary {
        font-size: 0.98rem;
    }
}

    summary::-webkit-details-marker {
        display: none;
    }

/* --- Tooltips --- */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.custom-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    max-width: 600px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

    .custom-tooltip.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
    }

    .custom-tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #2c3e50;
    }

    .custom-tooltip.tooltip-left {
        left: 0;
        transform: translateX(0);
    }

        .custom-tooltip.tooltip-left.show {
            transform: translateX(0) translateY(-5px);
        }

    .custom-tooltip.tooltip-right {
        right: 0;
        left: auto;
        transform: translateX(0);
    }

        .custom-tooltip.tooltip-right.show {
            transform: translateX(0) translateY(-5px);
        }


/* ===================================================================
   4. HOMEPAGE-SPECIFIC STYLES
   =================================================================== */

/* --- Homepage Hero --- */
#homepage-hero {
    margin-top: 50px;
    height: calc(100vh - 50px);
    min-height: 650px;
    max-height: 800px;
    background-image: url('../Images/Site/landscape-field-work-productivity-1600w.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

    #homepage-hero .mask {
        background-color: rgba(0, 0, 0, 0.5);
    }

    #homepage-hero .hero-headline {
        color: #FFFFFF;
        font-weight: 700;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    }

/* --- Homepage Screenshot Composite --- */
.hero-screenshots-container {
    position: relative;
}

.web-preview {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    border: 5px 
}

.mobile-previews {
    position: absolute;
    bottom: -18%;
    right: -8%;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.mobile-preview {
    width: 200px;
    min-width: 200px;
    border-radius: 18px;
    border: 5px solid black;
    box-shadow: 0 25px 60px rgba(0,0,0,.5);
    /*transform: rotate(5deg);*/
}

    .mobile-preview:last-child {
        transform: rotate(5deg);
        position: relative;
        right: 25px;
        /*bottom: -15px;*/
    }

/* --- Homepage Challenge/Solution Cards --- */
.challenge-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #dc3545;
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1rem;
}

    .challenge-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.challenge-card__icon {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 0.5rem;
}
.challenge-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}
.challenge-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
    color: var(--forest-green);
    margin: 0;
}
.challenge-card__list, .challenge-card__image {
    margin-top: 1rem;
}

.challenge-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border: 1px solid #d7e7df;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

@media (min-width: 992px) {
    .challenge-card__header {
        min-height: 7.25rem;
    }
}

.solution-step {
    padding: 1.5rem;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

    .solution-step:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }

    .solution-step .solution-icon {
        font-size: 3.5rem;
        color: var(--forest-green);
        margin-bottom: 1rem;
    }

    .solution-step p {
        flex-grow: 1;
    }

/* ===================================================================
   5. FEATURES PAGE & SUBPAGE STYLES
   =================================================================== */
/* --- Feature Page Workflow Lens --- */
.feature-workflow-lens {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.25rem;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cfe9dc;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    box-shadow: 0 8px 20px rgba(11, 110, 79, 0.08);
}

.feature-workflow-lens__copy strong,
.feature-workflow-lens__copy span {
    display: block;
}

.feature-workflow-lens__copy strong {
    margin-bottom: 0.25rem;
    color: var(--forest-green);
    font-size: 1rem;
    line-height: 1.3;
}

.feature-workflow-lens__copy span,
.feature-workflow-lens__status {
    color: #40514b;
    line-height: 1.45;
}

.feature-workflow-lens__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.feature-workflow-lens__buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    color: #0a4f39;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: #e7f5ee;
    border: 1px solid #cfe9dc;
    border-radius: 999px;
    cursor: pointer;
}

.feature-workflow-lens__buttons button:hover,
.feature-workflow-lens__buttons button:focus,
.feature-workflow-lens__buttons button.active {
    color: #ffffff;
    background-color: var(--forest-green);
    border-color: var(--forest-green);
}

.feature-workflow-lens__status {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 0.8rem;
    border-top: 1px solid #e0f0e8;
    font-size: 0.94rem;
}

/* --- Feature Page Introductory Showcase --- */
.feature-overview-showcase {
    background-color: var(--light-green);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #b6dec9;
}

    .feature-overview-showcase h2,
    .feature-overview-showcase h3 {
        font-size: 1.65rem;
        color: var(--forest-green);
        margin-bottom: 1.1rem;
    }

    .feature-overview-showcase ul {
        list-style: none;
        padding-left: 0;
    }

    .feature-overview-showcase li {
        font-size: 0.98rem;
        line-height: 1.55;
        margin-bottom: 0.8rem;
        display: flex;
        align-items: flex-start;
    }

    .feature-overview-showcase li i {
        color: var(--forest-green);
        margin-top: 6px;
        margin-right: 12px;
    }

.feature-overview-product {
    padding: 0.75rem;
    background: #f8fffc;
    border: 1px solid #d7e7df;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.feature-overview-product-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.workspace-bridge {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.workspace-bridge article {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem;
    background-color: #ffffff;
    border: 1px solid #cfe9dc;
    border-radius: 8px;
}

.workspace-bridge article > i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    color: #ffffff;
    background-color: var(--forest-green);
    border-radius: 50%;
}

.workspace-bridge h3 {
    margin-bottom: 0.2rem !important;
    font-size: 1.05rem !important;
}

.workspace-bridge p,
.shared-record-bridge span {
    margin-bottom: 0;
    color: #40514b;
    font-size: 0.94rem;
    line-height: 1.45;
}

.shared-record-bridge {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-top: 1px solid #cfe9dc;
    border-bottom: 1px solid #cfe9dc;
}

.shared-record-bridge strong {
    flex: 0 0 auto;
    color: var(--forest-green);
}

/* --- Feature Overview Cards --- */
.feature-card-item {
    background-color: var(--light-green);
    border: 1px solid #b6dec9;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .feature-card-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .feature-card-item .card-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--forest-green);
        margin-bottom: 0.75rem;
    }

.card-footer { /* Used by feature cards */
    background-color: transparent;
    border-top: none;
    padding-bottom: 1.25rem;
}

.feature-card-item .card-footer a {
    font-weight: 700;
    text-decoration: none;
    color: var(--forest-green);
    font-size: 1rem;
}

    .feature-card-item .card-footer a:hover {
        text-decoration: underline;
    }

/* --- Feature Subpage Challenge Box --- */
.feature-box {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .feature-box:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

/* --- Shared Content Wrapper (for tabs/accordion/subpages) --- */
.feature-content-wrapper {
    background-color: #FFFFFF;
    padding: 1.25rem;
}

.feature-content-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    padding-top:17px;
}

.feature-content-wrapper figure {
    text-align: center;
    margin-top: 1rem;
}


/* --- Feature Bullets with Checkmarks --- */
.feature-bullets {
    list-style: none;
    padding-left: 0;
}

    .feature-bullets li {
        font-size: 0.98rem;
        line-height: 1.5;
        margin-bottom: 0.85rem;
        padding-left: 28px;
        position: relative;
    }

        .feature-bullets li::before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            color: var(--accent);
            font-size: 1rem;
            position: absolute;
            left: 0;
            top: 5px;
        }

/* --- Mobile Accordion (Features Overview) --- */
.mobile-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-green);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.mobile-overview-section {
    background-color: var(--light-contrast);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.accordion-card {
    border: 1px solid #dee2e6;
    margin-bottom: -1px;
}

    .accordion-card:first-of-type {
        border-top-left-radius: .25rem;
        border-top-right-radius: .25rem;
    }

    .accordion-card:last-of-type {
        border-bottom-left-radius: .25rem;
        border-bottom-right-radius: .25rem;
        margin-bottom: 0;
    }

    .accordion-card .card-header {
        padding: 0;
        background-color: #fff;
        color: var(--forest-green);
        border-bottom: 1px solid rgba(0,0,0,.05);
    }

    .accordion-card .btn-link {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
        padding: 0.85rem 1.25rem;
        text-decoration: none;
        width: 100%;
        display: flex;
        align-items: center;
    }

        .accordion-card .btn-link.collapsed {
            color: #444;
        }

    .accordion-card .card-body {
        background-color: #f8f9fa;
        padding: 0;
    }

/* --- Desktop Tabs (Features Overview) --- */
.feature-nav-wrapper {
    position: sticky;
    top: 80px;
}

.feature-nav .list-group-item {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    border: none;
    border-left: 4px solid transparent;
    border-radius: 0;
    padding: 0.65rem 1rem;
}

.feature-panel-workflows {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin: -0.25rem 0 0.85rem;
}

.feature-panel-workflows span {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.16rem 0.42rem;
    color: #0a4f39;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: #e7f5ee;
    border: 1px solid #cfe9dc;
    border-radius: 999px;
}

    .feature-nav .list-group-item.active {
        background-color: var(--light-green);
        color: var(--forest-green);
        border-left: 4px solid var(--forest-green);
    }

    .feature-nav .list-group-item:hover:not(.active) {
        background-color: #f8f9fa;
        border-left: 4px solid var(--accent);
    }

.feature-nav .list-group-item.workflow-filter-match:not(.active),
.accordion-card.workflow-filter-match .card-header {
    background-color: #e7f5ee;
}

.feature-nav .list-group-item.workflow-filter-match:not(.active) {
    border-left: 4px solid var(--accent);
}

.feature-nav .list-group-item.workflow-filter-muted,
.accordion-card.workflow-filter-muted {
    opacity: 0.45;
}

.feature-nav .list-group-item.workflow-filter-muted:hover,
.accordion-card.workflow-filter-muted:hover {
    opacity: 0.78;
}

.tab-content > .tab-pane .feature-content-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
}

.tab-content .feature-content-body {
    flex-grow: 1;
}
.feature-actions {
    /*margin-top: 1rem;*/
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end; /* Align buttons to the right on mobile */
    align-items: center;
    gap: 1.5rem; /* ADD THIS LINE: Creates an 8px gap between buttons */
}
/* This media query overrides the alignment ONLY on desktop */
@media (min-width: 992px) {
    .tab-content .feature-actions {
        justify-content: space-between; /* This is the desktop alignment */
    }
}
/* Mobile feature-actions buttons on separate lines */
@media (max-width: 991.98px) {
    .feature-workflow-lens {
        grid-template-columns: 1fr;
    }

    .feature-workflow-lens__buttons {
        justify-content: flex-start;
    }

    .workspace-bridge {
        grid-template-columns: 1fr;
    }

    .feature-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .feature-workflow-lens {
        padding: 1rem;
    }

    .feature-workflow-lens__buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .feature-workflow-lens__buttons button {
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }

    .shared-record-bridge {
        display: block;
    }

    .shared-record-bridge strong {
        display: block;
        margin-bottom: 0.25rem;
    }
}
/* --- App Screenshot Composite --- */
.app-screenshot-composite {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-screenshot {
    position: absolute;
    max-height: 420px;
    border-radius: 20px;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
}

    .app-screenshot.center-image {
        z-index: 10;
    }

    .app-screenshot.left-image {
        z-index: 5;
        transform: translateX(-65%) rotate(-14deg);
    }

    .app-screenshot.right-image {
        z-index: 5;
        transform: translateX(65%) rotate(14deg);
    }

.app-screenshot-composite:hover .left-image,
.app-screenshot-composite:hover .right-image {
    transform: translateX(0) rotate(0);
    z-index: 11;
}

.app-screenshot-composite:hover .center-image {
    transform: scale(0.95);
}

.app-screenshot.left-image:hover {
    transform: translateX(-5%) rotate(0) scale(1.05) !important;
}

.app-screenshot.right-image:hover {
    transform: translateX(5%) rotate(0) scale(1.05) !important;
}

@media (max-width: 575.98px) {
    .app-screenshot-composite {
        min-height: 360px;
        overflow: hidden;
    }

    .app-screenshot-composite .screenshot-app,
    .app-screenshot-composite .app-screenshot {
        max-height: 340px;
    }

    .app-screenshot.left-image {
        transform: translateX(-42%) rotate(-10deg);
    }

    .app-screenshot.right-image {
        transform: translateX(42%) rotate(10deg);
    }

    .app-screenshot.left-image:hover,
    .app-screenshot.right-image:hover {
        transform: translateX(0) rotate(0) scale(1.02) !important;
    }
}


/* ===================================================================
   6. RESPONSIVE MEDIA QUERIES
   =================================================================== */

/* --- Laptops & Small Desktops (max-width: 1199.98px) --- */
@media (max-width: 1199.98px) {
    #homepage-hero .hero-headline {
        font-size: 3.2rem;
    }

    .mobile-preview {
        width: 170px;
        min-width: 170px;
    }
}

/* --- Tablets (max-width: 991.98px) --- */
@media (max-width: 991.98px) {
    #homepage-hero {
        height: auto !important;
        padding: 6rem 1rem !important;
        text-align: center;
    }

        #homepage-hero .text-lg-left {
            text-align: center !important;
        }

    .hero-screenshots-container {
        display: none;
    }

    .feature-page-container {
        padding-top: 2.5rem;
    }

    .feature-content-title {
        font-size: 1.4rem;
    }
}

/* --- General Mobile (max-width: 767.98px) --- */
@media (max-width: 767.98px) {
    .navbar {
        flex-wrap: nowrap;
        min-height: 64px;
        padding: 0.45rem 0.75rem;
        align-items: center;
    }

    .navbar-brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        margin-right: 0.5rem;
        white-space: nowrap;
        font-size: 1.22rem !important;
    }

    .navbar-icon {
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        margin-right: 0.35rem;
    }

    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
        padding: 0.25rem 0.45rem;
    }

    .navbar-collapse {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem 1rem;
        background-color: darkgreen;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .navbar-collapse .navbar-nav {
        align-items: flex-start;
    }

    .navbar-auth {
        display: block;
        margin-left: 0;
    }

    .navbar-auth .navbar-nav {
        display: block;
    }

    .navbar .nav-cta-primary,
    .navbar .nav-cta-secondary {
        margin: 0.35rem 0;
    }

    .navbar #loginLink {
        margin-top: 0.25rem;
    }

    section {
        scroll-margin-top: 80px;
    }

    summary {
        font-size: 1.25rem;
    }

    .main-content {
        padding-top: 3rem;
    }

    /* Hero Buttons */
    .hero-button {
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0.5rem auto !important;
        font-size: 1rem !important;
    }

    #homepage-hero .btn-outline-white {
        margin-top: 1rem;
    }

    /* Tooltip */
    .custom-tooltip {
        max-width: 280px;
        font-size: 0.8rem;
    }

    /* Font sizes */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    h4 {
        font-size: 1.25rem !important;
    }

    p, li, .feature-bullets li {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .btn {
        font-size: 0.9rem !important;
    }

    .btn-link {
        font-size: 1.1rem !important;
    }

    /* Features Page Specific */
    .tab-content .feature-content-title, .feature-content-title {
        font-size: 1.5rem;
    }

    .tab-content .feature-bullets li, .feature-bullets li {
        font-size: 0.95rem;
    }

    .feature-actions .btn {
        font-size: 0.8rem;
    }
}

/* --- Small Mobile (max-width: 575.98px) --- */
@media (max-width: 575.98px) {
    .testimonial-icon i {
        font-size: 2.5rem !important;
    }

    .testimonial-card blockquote {
        min-height: auto;
    }
}
.card-lift-subtle {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .card-lift-subtle:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

/* Testimonial responsive layout improvements */
@media (max-width: 991.98px) and (min-width: 768px) {
    .col-12.col-md-4:nth-child(1),
    .col-12.col-md-4:nth-child(2) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    .col-12.col-md-4:nth-child(3) {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
        margin: 0 auto !important;
    }
}

.plan-selector {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: .25rem;
    height: 100%;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out;
}

    .plan-selector input[type="radio"] {
        width: 1.25em;
        height: 1.25em;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .plan-selector .plan-details {
        line-height: 1.3;
    }

    .plan-selector.selected {
        border-color: var(--forest-green);
    }

form.form-compact .form-group {
    margin-bottom: 0.5rem;
}

form.form-compact h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

form.form-compact hr {
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}

form.form-compact .form-group label {
    margin-bottom: 0.25rem;
}
/* =================================================================== */
/* Screenshot Frame Component (OS-Neutral Version)                     */
/* =================================================================== */

/* The main container for the framed screenshot */
.screenshot-frame {
    background-color: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    /*box-shadow: 0 7px 20px rgba(0, 0, 0, 0.08);*/
    box-shadow: 10px 0px 15px rgba(0,0,0,.5);
    overflow: hidden;
    margin: 0;
}



/* The fake "window" title bar - UPDATED */
.screenshot-header {
    display: flex;
    align-items: center;
    /*justify-content: center;*/ /* This will center the title */
    /*padding: 0.75rem;*/
        background-color: #f8f9fa;
    border: 1px solid silver;
    /*background-color: silver;*/
}

    /* This new style is for the optional title text */
    .screenshot-header .header-title {
        font-size: 0.85rem;
        color: #555;
        font-weight: 600;
        font-family: sans-serif; /* A neutral font */
        text-align: left; 
    }

/* The caption area at the bottom (unchanged) */
.screenshot-frame .screenshot-caption {
    padding: 1rem 1.25rem;
    background-color: #ffffff;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    border-top: 1px solid #e0e6ed;
}

/* Ensure the image inside behaves correctly (unchanged) */
.screenshot-frame img {
    display: block;
    width: 100%;
    height: auto;
}


/* Add this to your screenshot-frame CSS */
.screenshot-frame a {
    position: relative;
    display: block;
    cursor: zoom-in;
}

.screenshot-frame .zoom-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.2); /* A subtle dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.2s ease-in-out;
    border-radius: 8px; /* Match the frame's corners */
}

    /* You'd place an SVG for a magnifying glass or expand icon here */
    .screenshot-frame .zoom-indicator svg {
        width: 48px;
        height: 48px;
        color: white;
    }

/* Show the indicator when the user hovers over the link */
.screenshot-frame a:hover .zoom-indicator {
    opacity: 1;
}

.screenshot-thumb {
    max-width: 100%;
    object-fit: contain;
}
.app-screenshot-composite .screenshot-app {
    max-height: 420px;
}
.screenshot-app {
    max-height: 500px;
    border-radius: 18px;
    border: 5px solid black;
    box-shadow: 10px 0px 15px rgba(0,0,0,.5);
}

.screenshot-caption {
    font-size: 0.85rem;
    font-style: italic;
    color: #6c757d;
    margin-top: 0.75rem;
    padding: 0 0.5rem;
}

/* ===================================================================
   MARKETING FUNNEL REFRESH
   =================================================================== */
.funnel-feature-chooser,
.funnel-inline-cta {
    padding: 2rem;
    background: #f7fbf9;
    border: 1px solid #d9eee5;
    border-radius: 8px;
}

.funnel-feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
    color: #1f2933;
    background-color: #ffffff;
    border: 1px solid #d9eee5;
    border-radius: 8px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.funnel-feature-card:hover {
    color: #1f2933;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(11, 110, 79, 0.12);
}

.feature-workflow-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
}

.feature-workflow-grid > [class*="col-"] {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0 !important;
}

.funnel-feature-card__image {
    display: block;
    width: 100%;
    height: 7.25rem;
    margin-bottom: 0.9rem;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e7df;
}

.funnel-feature-card strong,
.funnel-feature-card span {
    display: block;
}

.funnel-feature-card strong {
    margin-bottom: 0.45rem;
    color: var(--forest-green);
}

.funnel-feature-card .funnel-feature-card__title {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.35;
}

.funnel-feature-card__title i {
    flex: 0 0 auto;
    color: var(--forest-green);
    font-size: 1rem;
    line-height: 1.35;
    margin-top: 0.08rem;
}

.funnel-feature-card span {
    color: #52606d;
    line-height: 1.45;
}

.workflow-feature-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
}

.workflow-feature-link {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    color: var(--forest-green);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
    background-color: #eef8f3;
    border: 1px solid #cfe9dc;
    border-radius: 8px;
    text-decoration: none;
}

.workflow-feature-link:hover,
.workflow-feature-link:focus {
    color: #ffffff;
    background-color: var(--forest-green);
    border-color: var(--forest-green);
    text-decoration: none;
}

.workflow-loop {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.workflow-loop article {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 230px;
    padding: 1.25rem;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #d9eee5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(11, 110, 79, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-loop article:hover,
.role-fit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(11, 110, 79, 0.12);
}

.marketing-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.55rem;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1.1rem;
    background-color: var(--forest-green);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(11, 110, 79, 0.16);
}

.marketing-card-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin-bottom: 0.85rem;
}

.marketing-card-kicker span,
.workflow-step-badge {
    display: block;
    margin-bottom: 0.55rem;
    padding: 0;
    color: #0a4f39;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.marketing-card-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    margin-bottom: 0;
}

.workflow-loop h3,
.workflow-loop p,
.role-fit-card h3,
.role-fit-card p {
    width: 100%;
}

.workflow-loop h3,
.role-fit-card h3 {
    color: var(--forest-green);
    font-size: 1.2rem;
}

.workflow-loop p {
    flex-grow: 1;
    color: #40514b;
    font-size: 0.95rem;
}

.workflow-loop a {
    color: var(--forest-green);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.role-fit-card {
    height: 100%;
    padding: 1.35rem;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #d9eee5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(11, 110, 79, 0.06);
}

.role-fit-card p {
    color: #40514b;
}

.division-fit-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: center;
    margin-top: 0.5rem;
    padding: 1.25rem 1.4rem;
    background-color: #f7fbf9;
    border: 1px solid #d9eee5;
    border-radius: 8px;
}

.division-fit-strip h3 {
    margin-bottom: 0.35rem;
    color: var(--forest-green);
    font-size: 1.25rem;
}

.division-fit-strip p {
    margin-bottom: 0;
    color: #40514b;
}

.division-fit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.division-fit-list li {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0.6rem 0.7rem;
    color: #0a4f39;
    font-size: 0.88rem;
    font-weight: 700;
    background-color: #ffffff;
    border: 1px solid #d9eee5;
    border-radius: 8px;
}

.division-fit-list i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    margin-right: 0.55rem;
    color: #ffffff;
    font-size: 0.8rem;
    background-color: var(--forest-green);
    border-radius: 50%;
}

.demo-secondary-paths {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #d9eee5;
    border-radius: 8px;
    background-color: #f7fbf9;
}

.demo-secondary-paths span {
    color: #40514b;
    font-weight: 700;
}

.demo-workflow-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1rem;
}

.demo-workflow-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0.22rem 0.62rem;
    color: #0a4f39;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: #e7f5ee;
    border: 1px solid #cfe9dc;
    border-radius: 999px;
}

.pricing-feature-comparison {
    color: #1f2933;
}

.pricing-feature-comparison th,
.pricing-feature-comparison td {
    color: #1f2933;
    font-weight: 400;
}

.pricing-feature-comparison thead th {
    color: #1f2933;
    background-color: #f3f8f5;
    font-weight: 700;
}

.pricing-feature-comparison tbody td.text-left {
    color: #243b34;
    font-weight: 500;
}

.pricing-feature-comparison .bg-soft-green {
    color: #0a4f39;
    background-color: #d9eee5 !important;
    font-weight: 700;
}

.pricing-feature-comparison .fa-check.text-success {
    color: #0b6e4f !important;
}

.pricing-feature-comparison .fa-times.text-muted {
    color: #5f6b75 !important;
}

.pricing-discount-table {
    color: #1f2933;
    background-color: #ffffff;
}

.pricing-discount-table th,
.pricing-discount-table td {
    color: #1f2933;
    font-weight: 500;
}

.pricing-discount-table thead th {
    color: #243b34;
    background-color: #f3f8f5;
    font-weight: 700;
}

.pricing-discount-table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f7fbf9;
}

.pricing-discount-table.table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}

@media (max-width: 767.98px) {
    .funnel-feature-chooser,
    .funnel-inline-cta {
        padding: 1.25rem;
    }

    .funnel-inline-cta .btn {
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 0.75rem;
    }
}

@media (max-width: 991.98px) {
    .feature-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workflow-loop {
        grid-template-columns: 1fr;
    }

    .workflow-loop article {
        min-height: auto;
    }

    .division-fit-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .feature-workflow-grid {
        grid-template-columns: 1fr;
    }

    .division-fit-strip {
        padding: 1rem;
    }

    .division-fit-list {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .workflow-loop-section {
        position: relative;
        left: 50%;
        width: min(1140px, calc(100vw - 30px));
        transform: translateX(-50%);
    }

    .workflow-loop-section .container {
        max-width: none;
    }
}

/* ===================================================================
   UNUSED CSS CLASSES
   =================================================================== */

/* The following CSS classes are not currently used in any views */

/*.feature-title {
    color: black;
}

.plan-card {
    border: 2px solid #dee2e6;
    transition: border-color 0.2s ease-in-out;
}

    .plan-card.border-primary {
        border-width: 2px;
    }*/

/*.web-preview {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
    border: 5px 
}*/
/*
.challenge-card__list, .challenge-card__image {
    margin-top: 1rem;
}

.mobile-overview-section {
    background-color: var(--light-contrast);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.zoom-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 30, 30, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    border-radius: 8px;
}

    .zoom-indicator svg {
        width: 48px;
        height: 48px;
        color: white;
    }

.screenshot-frame a:hover .zoom-indicator {
    opacity: 1;
}*/
