/* =========================================================
   MegaSystems Security - Shared Stylesheet
   ========================================================= */
:root {
    --primary-blue: #0056b3;
    --light-blue: #007bff;
    --accent-cyan: #00c2ff;
    --accent-gold: #ffb020;
    --accent-orange: #ff7a3d;
    --dark-blue: #081b36;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --light-gray: #f4f6f8;
    --white: #ffffff;
    --text-main: #333333;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-text {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a { color: inherit; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--light-blue);
    color: var(--white);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}
.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 123, 255, 0.35);
}

.btn-assessment {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
    padding: 13px 30px;
}
.btn-assessment-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-assessment-sub {
    font-size: 0.72rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.9;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(4, 9, 20, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--white);
    padding: 14px 34px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 1px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: border-color 0.3s, background-color 0.3s, transform 0.2s;
    font-family: 'Montserrat', sans-serif;
}
.btn-outline:hover {
    border-color: var(--light-blue);
    background-color: rgba(0,123,255,0.12);
    transform: translateY(-2px);
}

/* Outline button variant for use on light/white backgrounds */
.btn-outline-dark {
    background-color: transparent;
    color: var(--dark-blue);
    border-color: rgba(8, 27, 54, 0.35);
}
.btn-outline-dark:hover {
    border-color: var(--light-blue);
    background-color: rgba(0,123,255,0.08);
    color: var(--primary-blue);
}

/* ================= FADE-IN ANIMATION ================= */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= SECTION TAG ================= */
.section-tag {
    display: inline-block;
    color: var(--light-blue);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}
.section-tag::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 3px;
}
.use-cases-section .section-tag,
.detail-page .section-tag.on-dark {
    color: var(--accent-cyan);
}

/* ================= SITE NAV ================= */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(8, 27, 54, 0.08);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.site-nav.scrolled {
    box-shadow: 0 6px 20px rgba(8, 27, 54, 0.12);
    background-color: rgba(255, 255, 255, 1);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}
.nav-logo-badge {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    padding: 4px 0;
    line-height: 0;
}
.nav-logo-badge img {
    display: block;
    height: 34px;
    width: auto;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-links a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    transition: color 0.25s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a:hover { color: var(--light-blue); }
.nav-links .nav-phone { color: var(--light-blue); font-weight: 700; }
.nav-links .nav-cta {
    background-color: var(--light-blue);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: background-color 0.3s, transform 0.2s;
}
.nav-links .nav-cta:hover { background-color: var(--primary-blue); transform: translateY(-2px); color: var(--white); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-blue);
    font-size: 1.6rem;
    cursor: pointer;
}

@media (max-width: 1150px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 65px;
        right: 0;
        left: 0;
        background-color: var(--white);
        box-shadow: 0 12px 25px rgba(8, 27, 54, 0.15);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .nav-links.open { max-height: 500px; }
    .nav-links li { width: 100%; }
    .nav-links a { width: 100%; padding: 18px 25px; border-bottom: 1px solid rgba(8, 27, 54, 0.08); }
    .nav-links .nav-cta { margin: 15px 25px; width: calc(100% - 50px); justify-content: center; }
}

/* ================= HERO SECTION ================= */
.hero {
    background: linear-gradient(180deg, rgba(4, 9, 20, 0.5) 0%, rgba(4, 9, 20, 0.25) 40%, rgba(4, 9, 20, 0.6) 100%),
                url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: var(--white);
    padding: 80px 0 110px;
    min-height: 640px;
    border-bottom: 5px solid var(--light-blue);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    animation: heroVideoZoom 24s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(4, 9, 20, 0.42) 0%, rgba(4, 9, 20, 0.18) 35%, rgba(4, 9, 20, 0.22) 62%, rgba(4, 9, 20, 0.55) 100%),
        linear-gradient(90deg, rgba(4, 9, 20, 0.25) 0%, rgba(4, 9, 20, 0.02) 28%, rgba(4, 9, 20, 0.02) 72%, rgba(4, 9, 20, 0.25) 100%);
}

@keyframes heroVideoZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
    .hero-video, .hero-title h1, .hero-title p, .hero-cta-row { animation: none !important; }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}


.btn-calc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-cyan));
    color: var(--white);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 1px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 20px rgba(0, 194, 255, 0.3);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 194, 255, 0.45);
}
.btn-calc.btn-assessment {
    align-items: flex-start;
    gap: 3px;
}
.btn-calc .btn-assessment-title {
    line-height: 1.3;
}
.btn-calc .btn-assessment-title i {
    margin-right: 4px;
}

.hero-title {
    position: absolute;
    left: 40px;
    bottom: 70px;
    max-width: 620px;
    text-align: left;
    z-index: 1;
}
.hero-title h1 {
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.15;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.85), 0 10px 34px rgba(0,0,0,0.6);
    animation: heroFadeUp 0.8s ease 0.15s both;
}
.hero-title h1 span {
    display: inline-block;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-cyan));
    padding: 8px 22px;
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(0, 123, 255, 0.4);
    white-space: nowrap;
}
.hero-title p {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 18px;
    margin-bottom: 30px;
    color: #e4eaf3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.85), 0 6px 20px rgba(0,0,0,0.55);
    animation: heroFadeUp 0.8s ease 0.3s both;
}
.hero-cta-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.8s ease 0.45s both;
}
.hero-title .hero-cta-row { justify-content: flex-start; }

/* --- Stat Strip --- */
.stat-strip {
    background-color: var(--black);
    padding: 30px 0;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}
.stat-item p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-top: 4px;
}

/* --- Icon Bar --- */
.icon-bar {
    background-color: var(--dark-gray);
    padding: 30px 0;
    border-bottom: 1px solid #333;
}
.icon-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}
.icon-item {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 140px;
    transition: transform 0.3s;
}
.icon-item:hover { transform: translateY(-4px); }
.icon-item i {
    font-size: 2.5rem;
    color: var(--light-blue);
}
.icon-item span {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ================= INTRO TEXT ================= */
.intro-section {
    background-color: var(--white);
    padding: 70px 20px;
    text-align: center;
}
.intro-content {
    max-width: 900px;
    margin: 0 auto;
}
.intro-content h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.intro-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}
.intro-video {
    display: block;
    width: 100%;
    margin: 30px 0 0;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* ================= BRAND BANNER IMAGE ================= */
.brand-banner {
    position: relative;
    height: 420px;
    overflow: hidden;
}
.brand-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.brand-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 27, 54, 0.1) 0%, rgba(4, 9, 20, 0.35) 55%, rgba(4, 9, 20, 0.85) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 40px 20px;
}
.brand-banner-overlay h3 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* ================= PRICING SECTION ================= */
.pricing-section {
    padding: 70px 0;
    background-color: var(--light-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card-header {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.card-header h3 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.price-box {
    background: var(--white);
    margin: 0 -20px;
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.starting-at {
    color: #777;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.price {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}
.price span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    margin-top: 8px;
    font-family: 'Roboto', sans-serif;
}

.card-body {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.btn-reserve {
    margin-top: auto;
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    font-size: 1.05rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.feature-list i {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-top: 2px;
}

.plus-text {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.card-pro {
    border: 3px solid var(--dark-blue);
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.card-pro:hover {
    transform: scale(1.03) translateY(-8px);
}
.card-pro .card-header {
    background-color: var(--dark-blue);
}
.tier-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--light-blue);
}

.price.price-custom {
    font-size: 2.1rem;
    color: var(--dark-blue);
}

.pricing-disclaimer {
    max-width: 800px;
    margin: 34px auto 0;
    text-align: center;
    font-size: 0.9rem;
    color: #5a6472;
    line-height: 1.6;
}
.pricing-disclaimer i { color: var(--light-blue); margin-right: 6px; }
.pricing-disclaimer a { color: var(--primary-blue); font-weight: 700; text-decoration: underline; }
.pricing-disclaimer a:hover { color: var(--light-blue); }

/* ================= CAPABILITIES ================= */
.capabilities-section {
    background-color: var(--white);
    padding: 90px 0;
    border-top: 1px solid #eee;
}
.section-header {
    text-align: center;
    margin-bottom: 55px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.section-header p {
    font-size: 1.1rem;
    color: #666;
}
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.cap-card {
    background: var(--light-gray);
    padding: 32px 30px;
    border-radius: 10px;
    border-left: 4px solid var(--light-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}
.cap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}
.cap-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}
.cap-card h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.cap-card p {
    font-size: 0.95rem;
    color: #555;
}

/* ================= GUARD VS TECHNOLOGY CALCULATOR ================= */
.calculator-section {
    background-color: var(--light-gray);
    padding: 90px 0;
    border-top: 1px solid #e5e5e5;
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}
.calc-inputs {
    background: var(--white);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.calc-inputs h3 {
    font-size: 1.05rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.calc-inputs h3:not(:first-child) { margin-top: 34px; }
.calc-inputs h3 i { color: var(--light-blue); }
.calc-field { margin-bottom: 18px; }
.calc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.calc-field label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 6px;
}
.calc-field label span {
    font-weight: 400;
    color: #888;
    font-size: 0.78rem;
}
.calc-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    -moz-appearance: textfield;
}
.calc-field input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

.calc-results {
    background: linear-gradient(150deg, var(--dark-blue) 0%, #0c2a52 100%);
    border-radius: 14px;
    padding: 40px;
    color: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
}
.calc-results h3 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--white);
}
.calc-results h3 i { color: var(--accent-cyan); }

.calc-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 22px 18px;
    margin-bottom: 24px;
}
.calc-compare-col { text-align: center; }
.calc-compare-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9fb0c8;
    margin-bottom: 8px;
}
.calc-compare-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.calc-compare-value-blue { color: var(--accent-cyan); }
.calc-compare-value-sm { font-size: 1.05rem; margin-top: 10px; font-weight: 700; opacity: 0.85; }
.calc-compare-sub {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b9bb5;
    margin-top: 2px;
}
.calc-compare-vs {
    color: var(--light-blue);
    font-size: 1.1rem;
}

.calc-savings-hero {
    text-align: center;
    background: rgba(0, 194, 255, 0.08);
    border: 1px solid rgba(0, 194, 255, 0.3);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}
.calc-savings-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #cfe4f5;
    margin-bottom: 8px;
}
.calc-savings-label i { color: var(--accent-cyan); }
.calc-savings-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 500;
    background: linear-gradient(90deg, var(--light-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.calc-savings-amount.negative {
    background: none;
    -webkit-text-fill-color: #ff6b6b;
    color: #ff6b6b;
}
.calc-savings-caption {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #a8c4de;
    margin-top: 10px;
}
.calc-savings-percent {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-weight: 700;
    font-size: 0.95rem;
    color: #cfe4f5;
}
.calc-savings-percent.negative { color: #ff6b6b; }

.calc-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
.calc-mini-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.calc-mini-item span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #9fb0c8;
    margin-bottom: 6px;
}
.calc-mini-item span small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.68rem; margin-top: 2px; }
.calc-mini-item strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.calc-disclaimer {
    margin-top: auto;
    font-size: 0.8rem;
    color: #a8b6cc;
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.calc-disclaimer i { margin-top: 3px; color: var(--light-blue); flex-shrink: 0; }
.calc-disclaimer a { color: var(--accent-cyan); font-weight: 700; text-decoration: none; }
.calc-disclaimer a:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .calc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .calc-compare { grid-template-columns: 1fr; }
    .calc-compare-vs {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: center;
        transform: rotate(90deg);
        margin: 4px 0;
    }
    .calc-mini-grid { grid-template-columns: 1fr; }
    .calc-field-row { grid-template-columns: 1fr; }
}

/* ================= USE CASES SECTION ================= */
.use-cases-section {
    background-color: var(--dark-gray);
    padding: 90px 0;
    color: var(--white);
}
.use-cases-section .section-header h2 { color: var(--white); }
.use-cases-section .section-header p { color: #ccc; }

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.use-case-card {
    background: var(--black);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}
.use-case-card:hover {
    transform: translateY(-6px);
    border-color: var(--light-blue);
}

.use-case-img {
    height: 225px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.use-case-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
}

.use-case-icon {
    position: absolute;
    bottom: -22px;
    left: 25px;
    background: var(--primary-blue);
    color: var(--white);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    border: 4px solid var(--black);
    z-index: 2;
}

.use-case-content {
    padding: 40px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.use-case-content h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.use-case-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.use-case-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 12px;
    line-height: 1.4;
}

.use-case-content li i {
    color: var(--light-blue);
    font-size: 0.95rem;
    margin-top: 3px;
}

.btn-learn-more {
    margin-top: auto;
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, transform 0.3s;
}

.btn-learn-more:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* ================= SETUP & OPTIONAL SERVICES ================= */
.bottom-dashboard {
    background-color: var(--light-gray);
    padding: 70px 0;
    border-top: 1px solid #ddd;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.dash-panel {
    background-color: var(--white);
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.dash-panel h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.service-item i {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 12px;
}
.service-item h4 {
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: var(--dark-blue);
}
.service-item p {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.3;
}

.env-list {
    list-style: none;
}
.env-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
}
.env-list li i {
    color: var(--light-blue);
    font-size: 1.4rem;
}

/* ================= FAQ SECTION ================= */
.faq-section {
    background-color: var(--white);
    padding: 90px 0;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}
.accordion-header {
    background-color: var(--light-gray);
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark-blue);
    transition: background-color 0.3s;
}
.accordion-header:hover {
    background-color: #e9ecef;
}
.accordion-header.active {
    background-color: var(--primary-blue);
    color: var(--white);
}
.accordion-header i { transition: transform 0.3s; }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-content {
    padding: 0 20px;
    background-color: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.accordion-header.active + .accordion-content {
    padding: 20px;
    max-height: 500px;
}
.accordion-content p {
    color: #555;
    font-size: 1rem;
}

/* ================= LEAD CAPTURE FORM ================= */
.lead-capture {
    background: linear-gradient(rgba(8, 27, 54, 0.92), rgba(8, 27, 54, 0.92)), url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80') center/cover;
    padding: 90px 0;
    color: var(--white);
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    color: var(--text-main);
}
.form-container h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}
.form-container p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}
.form-control:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}
.submit-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.quote-form-fields {
    list-style: none;
    margin-bottom: 28px;
}
.quote-form-fields li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
}
.quote-form-fields li i {
    color: var(--light-blue);
}
.quote-form-iframe {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}
@media (max-width: 768px) {
    /* Monday's embedded form doesn't reflow below ~360px of its own width.
       Break the iframe out of the card's nested padding so it gets the
       full viewport width on phones, avoiding internal horizontal scroll. */
    .quote-form-iframe {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-shadow: none !important;
    }
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--black);
    color: #bbb;
    padding: 60px 0 30px;
    border-top: 5px solid var(--light-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    line-height: 0;
    margin-bottom: 18px;
}
.footer-logo-badge img {
    display: block;
    height: 38px;
    width: auto;
}
.footer-about p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bbb; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; gap: 10px;}
.footer-links a:hover { color: var(--light-blue); }

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.footer-contact-info i {
    color: var(--light-blue);
    font-size: 1.2rem;
    margin-top: 3px;
}
.footer-contact-info a { color: #bbb; text-decoration: none; font-weight: 700;}
.footer-contact-info a:hover { color: var(--white); }

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

/* ================= BACK TO TOP ================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--light-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
    z-index: 900;
    border: none;
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background-color: var(--primary-blue); }

/* =========================================================
   DETAIL / USE-CASE PAGE COMPONENTS
   ========================================================= */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a8b6cc;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.breadcrumb a { color: #a8b6cc; text-decoration: none; transition: color 0.25s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.7rem; color: #55627a; }
.breadcrumb .current { color: var(--light-blue); }

.detail-hero {
    background-size: cover;
    background-position: center;
    padding: 70px 0 80px;
    border-bottom: 5px solid var(--light-blue);
    position: relative;
    color: var(--white);
}
.detail-hero-overlay {
    background: linear-gradient(120deg, rgba(8, 27, 54, 0.94) 10%, rgba(5, 10, 20, 0.78) 100%);
    padding: 0;
}
.detail-hero-inner { max-width: 800px; }
.detail-hero .use-case-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 22px;
    box-shadow: 0 10px 25px rgba(0,123,255,0.35);
}
.detail-hero h1 {
    font-size: 2.7rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 18px;
}
.detail-hero p.lead {
    font-size: 1.15rem;
    color: #cdd8ea;
    max-width: 700px;
    margin-bottom: 30px;
}
.detail-hero .hero-cta-row { justify-content: flex-start; }

.detail-overview {
    background-color: var(--white);
    padding: 80px 0;
}
.detail-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.detail-overview h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.25;
}
.detail-overview p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 16px;
}
.detail-overview-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.challenge-solution {
    background-color: var(--light-gray);
    padding: 80px 0;
}
.cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.cs-card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.cs-card.challenge { border-top: 5px solid #d9534f; }
.cs-card.solution { border-top: 5px solid var(--light-blue); }
.cs-card .cs-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 20px;
}
.cs-card.challenge .cs-icon { background-color: #d9534f; }
.cs-card.solution .cs-icon { background-color: var(--light-blue); }
.cs-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.cs-card p { color: #555; font-size: 1rem; }

.benefits-section {
    background-color: var(--white);
    padding: 80px 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.benefit-card {
    display: flex;
    gap: 20px;
    background: var(--light-gray);
    padding: 26px;
    border-radius: 10px;
    border-left: 4px solid var(--light-blue);
    transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.benefit-card i {
    font-size: 1.6rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}
.benefit-card h4 {
    font-size: 1.05rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.benefit-card p { font-size: 0.92rem; color: #555; }

.recommended-package {
    background: linear-gradient(120deg, var(--dark-blue), #0c2a52);
    border-radius: 16px;
    padding: 50px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}
.recommended-package .rp-text { flex: 1; min-width: 260px; }
.recommended-package .rp-tag {
    display: inline-block;
    background: rgba(0,123,255,0.2);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.recommended-package h3 {
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.recommended-package p { color: #c3cede; font-size: 1rem; max-width: 520px; }

.related-section {
    background-color: var(--dark-gray);
    padding: 80px 0;
    color: var(--white);
}
.related-section .section-header h2 { color: var(--white); }
.related-section .section-header p { color: #ccc; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.related-card {
    background: var(--black);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    text-decoration: none;
    color: var(--white);
    display: block;
    transition: transform 0.3s, border-color 0.3s;
}
.related-card:hover { transform: translateY(-6px); border-color: var(--light-blue); }
.related-card-img {
    height: 140px;
    background-size: cover;
    background-position: center;
}
.related-card-body { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.related-card-body h4 { font-size: 1rem; text-transform: uppercase; }
.related-card-body i { color: var(--light-blue); }

/* ================= RESPONSIVE ================= */
@media (min-width: 993px) {
    .brand-banner { height: 920px; }
}

@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .card-pro { transform: none; }
    .card-pro:hover { transform: translateY(-8px); }
}

@media (max-width: 992px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-overview-grid { grid-template-columns: 1fr; }
    .detail-overview-img { height: 280px; order: -1; }
    .cs-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .cap-grid { grid-template-columns: 1fr; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-banner { height: 300px; }
    .brand-banner-overlay h3 { font-size: 1.4rem; }
    .hero-title {
        left: 20px;
        right: 20px;
        bottom: 40px;
        max-width: none;
    }
    .hero-title h1 { font-size: 1.2rem; }
    .hero-title h1 span {
        font-size: 1.9rem;
        padding: 6px 16px;
        margin-top: 8px;
        display: inline-block;
        max-width: 100%;
        white-space: normal;
        box-sizing: border-box;
        background: linear-gradient(90deg, rgba(0, 123, 255, 0.55), rgba(0, 194, 255, 0.55));
    }
    .hero-title p { display: none; }
    .hero-title .hero-cta-row { margin-top: 20px; }
    .hero .hero-cta-row .btn-outline { display: none; }
    .btn-title-mobile-hide { display: none; }
    .hero .btn-assessment-sub { display: none; }
    .hero .btn-assessment { gap: 0; }
    .detail-hero h1 { font-size: 2rem; }
    .recommended-package { padding: 34px 26px; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* =========================================================
   CASE STUDIES
   ========================================================= */
.detail-hero { overflow: hidden; isolation: isolate; }
.detail-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.detail-hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(8, 27, 54, 0.92) 10%, rgba(5, 10, 20, 0.8) 100%);
}
@media (prefers-reduced-motion: reduce) {
    .detail-hero-video { display: none; }
}
.case-fact-strip {
    position: relative;
    z-index: 3;
    background-color: var(--white);
    padding: 60px 20px 90px;
}
.case-fact-panel {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 30px 70px -15px rgba(8, 27, 54, 0.35), 0 0 0 1px rgba(8, 27, 54, 0.04);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.case-fact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 34px 26px;
    border-left: 1px solid #edeff3;
    transition: background-color 0.25s;
}
.case-fact-item:first-child { border-left: none; }
.case-fact-item:hover { background-color: #f8fafc; }
.case-fact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(0,86,179,0.3);
}
.case-fact-item span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #98a1b3;
    margin-bottom: 7px;
}
.case-fact-item strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.4;
}

.pull-quote-section { background-color: var(--white); padding: 10px 0 30px; }
.pull-quote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.pull-quote i.fa-quote-left { font-size: 1.8rem; color: var(--accent-gold); margin-bottom: 18px; }
.pull-quote p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--dark-blue);
    line-height: 1.4;
    margin-bottom: 18px;
}
.pull-quote cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7a8699;
}

.callout-box {
    background: linear-gradient(120deg, #0f2a43, #081b36);
    border-left: 5px solid var(--accent-gold);
    border-radius: 12px;
    padding: 30px 34px;
    margin-top: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
.callout-box span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.callout-box p { color: #d6e0f0; font-size: 1rem; margin: 0; }

.impact-section { background-color: var(--light-gray); padding: 80px 0; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.impact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 34px 28px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.impact-card:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.impact-card .impact-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}
.impact-card h4 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.impact-card p { color: #555; font-size: 0.95rem; }

.video-showcase { background-color: var(--dark-blue); padding: 80px 0; }
.video-showcase .section-header h2 { color: var(--white); }
.video-showcase .section-header p { color: #ccc; }
.case-video-frame {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}
.case-video-frame video { width: 100%; display: block; background: #000; }

.approach-list { list-style: none; margin-top: 26px; }
.approach-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e6e9ee;
    color: #444;
    font-size: 1rem;
}
.approach-list li:last-child { border-bottom: none; }
.approach-list li i {
    color: var(--white);
    background: var(--light-blue);
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 2px;
}

.recommended-package-wrap { background-color: var(--light-gray); padding: 80px 0; }

.takeaway-section { background-color: var(--white); padding: 20px 0; }
.takeaway-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-gray);
    border-left: 5px solid var(--accent-gold);
    border-radius: 12px;
    padding: 40px 44px;
}
.takeaway-box span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 14px;
}
.takeaway-box p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--dark-blue);
    line-height: 1.45;
}

.sources-section { background-color: var(--light-gray); padding: 70px 0; }
.sources-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.sources-list h4, .publication-note h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-blue);
    margin-bottom: 16px;
}
.sources-list ol { padding-left: 20px; color: #555; font-size: 0.92rem; }
.sources-list ol li { margin-bottom: 10px; }
.sources-list ol a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,86,179,0.3);
    transition: color 0.2s, border-color 0.2s;
}
.sources-list ol a:hover { color: var(--light-blue); border-color: var(--light-blue); }
.publication-note {
    background: var(--white);
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 26px 28px;
}
.publication-note h4 { color: #b8860b; }
.publication-note h4 i { margin-right: 8px; }
.publication-note p { color: #666; font-size: 0.88rem; line-height: 1.6; }

.case-teaser-section { background-color: var(--white); padding: 80px 0; }
.case-teaser-list { display: flex; flex-direction: column; gap: 30px; }
.case-teaser-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--dark-blue);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.case-teaser-img {
    background-size: cover;
    background-position: center;
    min-height: 320px;
    position: relative;
}
.case-teaser-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,27,54,0) 60%, rgba(8,27,54,0.85) 100%);
}
.case-teaser-body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.case-teaser-body span.section-tag { text-align: left; }
.case-teaser-body h3 {
    font-size: 1.7rem;
    color: var(--white);
    font-weight: 500;
    margin: 14px 0 16px;
    line-height: 1.3;
}
.case-teaser-body p { color: #c3cede; margin-bottom: 24px; font-size: 1rem; }

@media (max-width: 992px) {
    .case-fact-strip { padding: 50px 20px 70px; }
    .case-fact-panel { grid-template-columns: repeat(2, 1fr); }
    .case-fact-item { border-left: none; border-top: 1px solid #edeff3; }
    .case-fact-item:nth-child(1), .case-fact-item:nth-child(2) { border-top: none; }
    .case-fact-item:nth-child(odd) { border-left: none; }
    .case-fact-item:nth-child(even) { border-left: 1px solid #edeff3; }
    .impact-grid { grid-template-columns: 1fr; }
    .sources-grid { grid-template-columns: 1fr; }
    .case-teaser-card { grid-template-columns: 1fr; }
    .case-teaser-img { min-height: 220px; }
}

@media (max-width: 768px) {
    .case-fact-strip { padding: 40px 16px 60px; }
    .case-fact-panel { grid-template-columns: 1fr; border-radius: 14px; }
    .case-fact-item { border-left: none !important; border-top: 1px solid #edeff3; padding: 26px 22px; }
    .case-fact-item:first-child { border-top: none; }
    .pull-quote p { font-size: 1.3rem; }
    .takeaway-box { padding: 30px 26px; }
    .takeaway-box p { font-size: 1.1rem; }
}

/* =========================================================
   LEGAL PAGES (Privacy Policy / Terms of Use)
   ========================================================= */
.legal-hero {
    background: linear-gradient(120deg, var(--dark-blue) 10%, #050a14 100%);
    color: var(--white);
    padding: 64px 0 54px;
    border-bottom: 5px solid var(--light-blue);
}
.legal-hero .breadcrumb { margin-bottom: 22px; }
.legal-hero .use-case-icon-badge { margin-bottom: 20px; }
.legal-hero h1 {
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 16px;
}
.legal-hero p.lead {
    font-size: 1.1rem;
    color: #cdd8ea;
    max-width: 700px;
    margin-bottom: 22px;
}
.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #a9b8cf;
    font-size: 0.92rem;
}
.legal-meta span { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta i { color: var(--light-blue); }

.legal-body { background: var(--white); padding: 70px 0 90px; }
.legal-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 54px;
    align-items: start;
}
.legal-toc {
    position: sticky;
    top: 100px;
    background: var(--light-gray);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e6e9ee;
}
.legal-toc h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 14px;
}
.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.2s, color 0.2s;
}
.legal-toc a::before {
    content: counter(toc);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #d7dce3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.legal-toc a:hover { background: var(--white); color: var(--primary-blue); }

.legal-content { max-width: 760px; color: var(--text-main); }
.legal-intro {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #444;
    padding: 20px 22px;
    background: var(--light-gray);
    border-left: 4px solid var(--light-blue);
    border-radius: 0 10px 10px 0;
    margin-bottom: 40px;
}
.legal-intro p { margin-bottom: 12px; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-section { margin-bottom: 44px; scroll-margin-top: 100px; }
.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.35rem;
    color: var(--dark-blue);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #eef1f5;
}
.legal-section h2 .legal-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--light-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}
.legal-section h3 {
    font-size: 1.05rem;
    color: var(--primary-blue);
    margin: 22px 0 10px;
}
.legal-section p { margin-bottom: 14px; line-height: 1.75; color: #444; }
.legal-section ul {
    margin: 12px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.legal-section ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.6;
    color: #444;
}
.legal-section ul li i { color: var(--light-blue); margin-top: 4px; flex-shrink: 0; }
.legal-contact-card {
    background: var(--dark-blue);
    color: var(--white);
    border-radius: 14px;
    padding: 32px;
    margin-top: 8px;
}
.legal-contact-card h4 { color: var(--white); margin-bottom: 14px; font-size: 1.1rem; }
.legal-contact-card p { color: #cdd8ea; margin-bottom: 6px; line-height: 1.6; }
.legal-contact-card a { color: var(--accent-cyan); text-decoration: none; }
.legal-contact-card a:hover { text-decoration: underline; }

.copyright .legal-links { margin-top: 8px; display: block; }
.copyright a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.copyright a:hover { color: var(--light-blue); }

@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; margin-bottom: 30px; }
    .legal-hero h1 { font-size: 1.9rem; }
}
