:root {
    --brand-blue: #1e6bb5;
    --brand-blue-dark: #134d85;
    --brand-dark: #1a1a1a;
    --text-main: #2d3436;
    --text-light: #636e72;
    --bg-light: #f0f5fb;
    --white: #ffffff;
    --font-stack: 'Inter', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(30, 107, 181, 0.18);
    --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;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

p {
    margin-bottom: 1rem;
}

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

.section {
    padding: 80px 0;
}

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

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

.section-tag {
    display: inline-block;
    background: rgba(30, 107, 181, 0.1);
    color: var(--brand-blue);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

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

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

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

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

/* --- HERO --- */
.hero {
    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-blue);
}

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

/* --- 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-blue);
}

.problem-card i {
    font-size: 2rem;
    color: var(--brand-blue);
    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-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

.solution-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--brand-blue);
    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-blue);
    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;
}

/* --- TECH STACK --- */
.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-blue);
}

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

.tech-item span {
    font-weight: 600;
    font-size: 1rem;
    color: #555;
}

/* --- 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(30, 107, 181, 0.15);
    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;
    line-height: 1.8;
    color: var(--text-main);
    text-align: start;
}

/* --- META INFO --- */
.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);
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card {
    margin-top: 10px;
}

/* --- ARCHITECTURE IMAGE --- */
.img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.img-box img {
    width: 100%;
    border-radius: var(--radius-md);
}

.results-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.results-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.results-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.results-card-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.results-card-stat {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.results-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.results-card-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .results-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* --- RESULT HIGHLIGHTS --- */
.result-highlight {
    background: #edf3fb;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--brand-blue);
}

.result-highlight-alt {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #2e7d32;
}

.result-highlight-warn {
    background: #fff8e1;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #f9a825;
}

.result-highlight-dark {
    background: #e8eaf6;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #3949ab;
}

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

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .summary-grid,
    .strategy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

    .summary-box {
        padding: 30px;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 110px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    section {
        padding: 60px 0 !important;
    }

    .section {
        padding: 50px 0;
    }

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

    .section-desc {
        font-size: 1rem;
        text-align: left;
    }

    .overlap-section {
        margin-top: -60px !important;
    }

    .stat-val {
        font-size: 1.5rem;
    }

    .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;
    }

    .img-box img {
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .quote-box {
        padding: 50px 25px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }
}
/* --- HERO DOWNLOAD BUTTON --- */
.cs-hero-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 32px;
    background: var(--brand-blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    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: none;
}

.cs-hero-download-btn:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 107, 181, 0.45);
}

.cs-hero-download-btn i {
    font-size: 0.9rem;
}

/* --- CTA BANNER --- */
.acg-cta-banner {
    background: #f0f5fb;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.acg-cta-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.acg-cta-text {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.acg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--brand-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.acg-cta-btn:hover {
    background: var(--brand-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(30, 107, 181, 0.45);
}

.acg-cta-logo {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
    pointer-events: none;
}

.acg-cta-logo img {
    width: 220px;
    height: 220px;
    object-fit: contain;
}

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .section-desc,
    .feedback-desc {
        text-align: center;
    }

    .summary-box {
        padding: 24px 20px;
    }

    .quote-box {
        padding: 40px 24px;
    }

    .acg-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .acg-cta-logo {
        display: none;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

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

    .hero .container,
    .overlap-section.container {
        padding-right: 16px;
    }

    .hero h1,
    .hero p,
    .meta-info,
    .cs-hero-download-btn {
        max-width: calc(100% - 44px);
        margin-left: auto;
        margin-right: auto;
    }

    .summary-box {
        padding: 24px 20px;
    }

    .overlap-section {
        margin-top: -36px !important;
        padding-bottom: 40px;
    }

    .meta-tag {
        width: 100%;
        text-align: center;
    }

    .cs-hero-download-btn,
    .acg-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .cs-hero-download-btn {
        margin-top: 22px;
        margin-bottom: 20px;
    }

    .cs-gate-sticky-btn {
        top: 68%;
        padding: 18px 10px;
        font-size: 0.78rem;
    }
}

/* ===== RESPONSIVE PATCH — prevent horizontal overflow on small viewports ===== */
html {
    overflow-x: hidden;
}

@media (max-width: 576px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    /* override the inline grid-template-columns: 1fr 1fr on the strategy inner div */
    .strategy-grid > div {
        grid-template-columns: 1fr !important;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .meta-info {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
.vestigo-faq-theme { --faq-accent: #1e6bb5; }
