:root {
    --brand-red: #1F7A8C;
    --brand-dark: #1a1a1a;
    --text-main: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-stack: 'Inter', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(211, 47, 47, 0.15);
    --radius-md: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}


/* --- UTILITIES --- */
.container {
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light);
}

.bg-red {
    background: linear-gradient(135deg, var(--brand-red), #194e62b8);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: rgb(31 122 140 / 10%);
    color: var(--brand-red);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.bg-red .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--brand-dark);
    font-weight: 800;
}

.bg-red .section-title {
    color: var(--white);
}

.section-desc {
    max-width: 885px;
    margin: 0 auto;
    text-align: start;
}

.bg-red .section-desc {
    color: rgba(255, 255, 255, 0.9);
}

.lastpass-solution-section {
    background: #fff;
}

.lastpass-solution-section .section-title {
    color: var(--brand-dark);
}

.lastpass-solution-intro {
    color: #475569;
}

.lastpass-solution-section .strategy-card,
.lastpass-solution-section .solution-card {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://d1e5ggoymkuik7.cloudfront.net/case-studies/last-pass-qa/hero-banner.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin: 0 auto;
    opacity: 0.9;
    color: var(--white);
    font-weight: 300;
}

/* --- EXECUTIVE SUMMARY CARD --- */
.overlap-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.summary-box {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border-top: 6px solid var(--brand-red);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.summary-grid .summary-right h4 {
    color: var(--white);
}

.summary-grid .summary-right p {
    color: var(--white);
}

/* --- INTRODUCTION GRID --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.intro-content {
    padding-right: 20px;
}

/* --- PROBLEM TILES --- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.problem-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    transition: 0.4s;
    position: relative;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-red);
}

.problem-card i {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 20px;
    display: block;
}

.problem-card h4 {
    margin-bottom: 10px;
    color: var(--brand-dark);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* --- TWO TIER STRATEGY --- */
.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.strategy-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--brand-red);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.strategy-card h3 {
    color: var(--brand-red);
    margin-bottom: 20px;
}

.strategy-list {
    list-style: none;
}

.strategy-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--dark_gray);
}

.strategy-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-red);
    margin-top: 1px;
}

/* --- PODS (small icons in strategy section) --- */
.pod-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.pod-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.3s;
}

.pod-item:hover {
    background: #fff8f8;
    border-color: var(--brand-red);
}

.pod-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--brand-red);
    margin-bottom: 5px;
}

/* --- SCALABLE SOLUTIONS GRID --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--brand-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
}

.solution-card .sol-num {
    background: var(--brand-red);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.solution-card .sol-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.solution-card h3 {
    font-size: 1.25rem;
    color: var(--brand-dark);
    margin: 0;
}

/* --- SALESFORCE DEVELOPMENT OVERVIEW (TAB STYLE) --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.tab-btn {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 180px;
}

.tab-btn:hover {
    border-color: var(--brand-red);
    background: rgba(211, 47, 47, 0.05);
}

.tab-btn.active {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
    box-shadow: var(--shadow-hover);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.pod-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pod-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.pod-header {
    background: linear-gradient(135deg, var(--brand-red), #c62828);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.pod-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    color: var(--white);
}

.pod-body {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scope-list {
    list-style: none;
    margin: 20px 0;
}

.scope-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px dashed #eee;
}

.scope-list li:last-child {
    border-bottom: none;
}

.scope-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-red);
    position: absolute;
    left: 0;
    top: 12px;
}

.outcome-box {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-left: 5px solid var(--brand-red);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.outcome-box strong {
    color: var(--brand-red);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.pods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

/* --- IMPROVED TECH STACK SECTION --- */
.tech-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--brand-primary);
}

.tech-item i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tech-item span {
    font-weight: 600;
    font-size: 1rem;
    color: #555;
}
.integrations-note {
    margin-top: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--brand-red);
}

/* --- IMPACT METRICS --- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.impact-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.impact-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 500;
    color: var(--white);
}

/* --- FOOTER --- */
/* footer {
    background: var(--brand-dark);
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-content h2 {
    margin-bottom: 20px;
} */

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-outcome h4, .key-outcome p {
    color: var(--white);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .pods-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .summary-grid,
    .strategy-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .summary-box {
        padding: 30px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .intro-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 80%;
        max-width: 300px;
    }

    .pod-header {
        padding: 30px 20px;
    }

    .pod-header h3 {
        font-size: 1.7rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .tech-item {
        padding: 30px 15px;
        min-height: 160px;
    }

    .tech-item i {
        font-size: 3rem;
    }
}


@media only screen and (min-width: 992px) {
    .ebook-form-wrap {
        max-width: none;
    }
}

.meta-info {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.quote-box {
    background: var(--white);
    padding: 70px 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
}
.quote-icon {
    font-size: 4rem;
    color: rgba(255, 193, 7, 0.2);
    position: absolute;
    top: 30px;
    left: 30px;
}

span.testimonial_text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    z-index: 2;
}

/* .cs-gate-blur-lp {
    margin-bottom: 0px !important;
    height: 200px !important;
} */

.feedback-desc {
    margin: 20px auto 40px !important;
    text-align: start;
	max-width: 885px;
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-yellow);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.acg-img-box {
    box-shadow: none !important;
}

.acg-img-box img {
    height: 500px;
}

.review-slider .slick-slide {
    display: flex !important;
    justify-content: center;
}

.flow-diagram-grid {
    display: flex;
    justify-content: center;
}

/* --- TECH STACK --- */

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--brand-red);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tech-card i {
    font-size: 2.8rem;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--brand-dark);
}

.tech-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tech-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* --- BUSINESS IMPACT SECTION --- */

.lastpass-impact-section {
    background: var(--bg-light);
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.lastpass-impact-section .section-tag {
    background: rgba(31, 122, 140, 0.1);
    color: var(--brand-red);
}

.lastpass-impact-section .section-title {
    color: var(--brand-dark);
}

.lastpass-impact-section .section-desc {
    color: #475569;
}

section.section.testimonial {
    background: var(--bg-light);
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

section#user-research {
    background: #fff !important;
}

.impact-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.impact-metric-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: var(--transition);
}

.impact-metric-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
}

.impact-metric-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #ffffff;
}

.impact-metric-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    color: #ffffff;
}

.lastpass-impact-section .impact-metric-card {
    background: var(--white);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.lastpass-impact-section .impact-metric-card:hover {
    background: #ffffff;
}

.lastpass-impact-section .metric-value {
    color: var(--brand-red);
}

.lastpass-impact-section .impact-metric-card h4 {
    color: var(--brand-dark);
}

.lastpass-impact-section .impact-metric-card p {
    color: #475569;
}

/* --- USER RESEARCH SECTION --- */

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.research-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-8px);
}

.research-card h3 {
    color: var(--brand-red);
    margin-bottom: 20px;
}

.highlight-card {
    border-left: 5px solid var(--brand-red);
}

.insight-list {
    list-style: none;
    margin-top: 15px;
}

.insight-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main);
}

.insight-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-red);
    font-weight: bold;
}

.research-outcome {
    margin-top: 60px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 30px 40px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--brand-red);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-size: 1rem;
    color: var(--text-main);
}

.research-outcome strong {
    color: var(--brand-red);
}

/* Responsive */
@media (max-width: 900px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
}
/* --- TESTIMONIAL --- */
.quote-box {
    background: var(--white);
    padding: 70px 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(255, 193, 7, 0.2);
    position: absolute;
    top: 30px;
    left: 30px;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    z-index: 2;
}
.feedback-desc {
    max-width: 920px;
    margin: 20px auto 40px !important;
    text-align: start;
}

/* ── Download Buttons ── */
.cs-hero-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 32px;
    background: var(--brand-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(31, 122, 140, 0.35);
}
.cs-hero-download-btn:hover {
    background: #145f6e;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(31, 122, 140, 0.45);
}
.cs-hero-download-btn i { font-size: 0.9rem; }

/* ── CTA Banner ── */
.acg-cta-banner {
    background: linear-gradient(135deg, var(--brand-red) 0%, #145f6e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.acg-cta-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.acg-cta-text {
    flex: 1;
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    min-width: 220px;
}
.acg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: var(--brand-red);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.acg-cta-btn:hover { opacity: 0.88; }
.acg-cta-logo {
    opacity: 0.08;
    position: absolute;
    right: -40px;
    bottom: -20px;
    pointer-events: none;
}
.acg-cta-logo img { width: 220px; }
.lastpass-faq-theme { --faq-accent: #d32f2f; }
