/* =========================================================
   Virtu Product Page — Corporate Layout
   Scoped under #virtuel.virtu-page to avoid leaking to other pages.
   ========================================================= */

#virtuel.virtu-page {
    color: #1a2a3a;
    background: #fff;
    text-align: left;
    margin-top: 0;
    padding: 0;
}

#virtuel.virtu-page .container {
    max-width: 1140px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* ---------- Hero ---------- */
.virtu-hero {
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
}
.virtu-hero::after {
    content: "";
    position: absolute;
    right: -160px; top: -160px;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(74, 168, 255, 0.28), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.virtu-hero .container { position: relative; z-index: 1; }

.virtu-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}

.virtu-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a8d4ff;
    margin-bottom: 20px;
}

.virtu-hero h1 {
    font-size: 46px;
    line-height: 1.12;
    font-weight: 700;
    margin: 0 0 24px;
    color: #fff;
    text-align: left;
    letter-spacing: -0.01em;
}

.virtu-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
    max-width: 580px;
    text-align: left;
}

.virtu-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.virtu-btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.virtu-btn--primary {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.35);
}
.virtu-btn--primary:hover,
.virtu-btn--primary:focus {
    background: #22913c;
    border-color: #22913c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(40, 167, 69, 0.45);
    text-decoration: none;
}
.virtu-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
.virtu-btn--ghost:hover,
.virtu-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}
.virtu-btn--lg {
    padding: 18px 40px;
    font-size: 15px;
}

.virtu-hero-visual { text-align: center; }
.virtu-hero-visual img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.28));
}

/* ---------- Feature nav ---------- */
.virtu-featurenav {
    background: #fff;
    border-bottom: 1px solid #e5eaf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    padding: 0;
}
.virtu-featurenav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.virtu-featurenav li {
    flex: 1 1 0;
    min-width: 110px;
    text-align: center;
}
.virtu-featurenav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 8px 15px;
    color: #586b7d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.virtu-featurenav a:hover,
.virtu-featurenav a:focus {
    color: #00549a;
    border-bottom-color: #00549a;
    background: #f6f9fc;
    text-decoration: none;
}
.virtu-featurenav [class^="icon-"],
.virtu-featurenav [class*=" icon-"] {
    font-size: 20px;
    color: #00549a;
}

/* ---------- Features ---------- */
.virtu-feature {
    padding: 90px 0;
    scroll-margin-top: 80px; /* keep anchor below fixed top-nav */
}
.virtu-feature--light { background: #ffffff; }
.virtu-feature--dark  { background: #f6f9fc; }

.virtu-feature .container {
    max-width: 920px;
}

.virtu-feature h2 {
    font-size: 34px;
    font-weight: 700;
    color: #00549a;
    margin: 0 0 20px;
    line-height: 1.2;
    text-align: left;
    letter-spacing: -0.01em;
}
.virtu-feature h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: #28a745;
    margin-top: 14px;
    border-radius: 2px;
}

.virtu-feature h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a2a3a;
    margin: 36px 0 14px;
    text-align: left;
}

/* Full-width diagram (SVG schemas) sit above the paragraphs with breathing room */
#virtuel.virtu-page .virtu-feature > .container > .imgz:not(.half) {
    margin: 32px auto;
    max-width: 960px;
}
#virtuel.virtu-page .virtu-feature .imgz img {
    line-height: 0;
}

.virtu-feature p {
    font-size: 17px;
    line-height: 1.7;
    color: #3a4a5c;
    margin: 0 0 16px;
    text-align: left;
}

.virtu-feature strong {
    color: #1a2a3a;
    font-weight: 700;
}

.virtu-feature ul {
    padding-left: 0;
    list-style: none;
    margin: 18px 0 24px;
    /* flow-root creates a block formatting context so the UL sits next to
       a floated image instead of letting its content slide underneath. */
    display: flow-root;
}
.virtu-feature ul li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 16px;
    line-height: 1.6;
    color: #3a4a5c;
    text-align: left;
}
.virtu-feature ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 20px;
    height: 20px;
    background: #00549a url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.4 11.2 3.2 8l1.1-1.1 2.1 2.1 4.3-4.3 1.1 1.1z'/></svg>") center/12px no-repeat;
    border-radius: 50%;
}

.virtu-feature .imgz {
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 84, 154, 0.14);
    background: #fff;
}
/* SVG diagrams have their own visual chrome — drop the card wrapper. */
.virtu-feature .imgz:has(> img[src$=".svg"]) {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}
.virtu-feature .imgz img {
    display: block;
    width: 100%;
    height: auto;
}
.virtu-feature .imgz.half {
    max-width: 46%;
}
.virtu-feature .imgz.half.left {
    float: left;
    margin: 6px 28px 16px 0;
}
.virtu-feature .imgz.half.right {
    float: right;
    margin: 6px 0 16px 28px;
}
.virtu-feature::after {
    content: "";
    display: block;
    clear: both;
}

/* ---------- Response color legend ---------- */
.virtu-colorrow {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 8px;
}
.virtu-colorchip {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid #d6dfe8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.virtu-colorchip--green  { background: #28a745; }
.virtu-colorchip--yellow { background: #f1c40f; }
.virtu-colorchip--red    { background: #e74c3c; }
.virtu-colorchip--white  { background: #ffffff; }

/* ---------- Group type cards ---------- */
.virtu-grouptypes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 32px;
}
.virtu-feature .virtu-grouptypes {
    background: #f6f9fc;
    border: 1px solid #e3ebf3;
    border-radius: 12px;
    padding: 24px 22px;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.virtu-feature .virtu-grouptypes:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 84, 154, 0.1);
}
.virtu-feature .virtu-grouptypes--feature {
    background: linear-gradient(160deg, #fff 0%, #eaf4ff 100%);
    border-color: #00549a;
    box-shadow: 0 14px 36px rgba(0, 84, 154, 0.16);
}
.virtu-feature .virtu-grouptypes-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: #00549a;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.virtu-feature .virtu-grouptypes--feature .virtu-grouptypes-badge {
    background: #28a745;
}
.virtu-feature .virtu-grouptypes-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 8px;
    line-height: 1.3;
    text-align: left;
}
.virtu-feature .virtu-grouptypes-sub {
    font-size: 14px;
    color: #586b7d;
    margin: 0 0 14px;
    line-height: 1.55;
    text-align: left;
}
.virtu-feature .virtu-grouptypes ul {
    margin: 0;
    padding-left: 0;
}
.virtu-feature .virtu-grouptypes ul li {
    font-size: 14px;
    padding: 5px 0 5px 26px;
    line-height: 1.55;
}
.virtu-feature .virtu-grouptypes ul li::before {
    width: 16px;
    height: 16px;
    top: 9px;
    background-size: 9px;
}

/* ---------- Philosophy / reassurance block ---------- */
.virtu-philosophy {
    background: #f6f9fc;
    padding: 90px 0;
    text-align: center;
}
.virtu-philosophy h2 {
    font-size: 30px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 14px;
    line-height: 1.25;
    text-align: center;
    letter-spacing: -0.01em;
}
.virtu-philosophy h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: #28a745;
    margin: 16px auto 0;
    border-radius: 2px;
}
.virtu-philo-lead {
    font-size: 17px;
    line-height: 1.7;
    color: #3a4a5c;
    max-width: 780px;
    margin: 26px auto 52px;
    text-align: center;
}
.virtu-philo-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}
.virtu-philo-pillar h3 {
    font-size: 17px;
    font-weight: 700;
    color: #00549a;
    margin: 0 0 8px;
    text-align: left;
    line-height: 1.3;
}
.virtu-philo-pillar p {
    font-size: 15px;
    line-height: 1.6;
    color: #586b7d;
    margin: 0;
    text-align: left;
}
@media (max-width: 991px) {
    .virtu-philosophy { padding: 60px 0; }
    .virtu-philo-pillars { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .virtu-philo-pillar h3,
    .virtu-philo-pillar p { text-align: center; }
}

/* ---------- Final CTA ---------- */
.virtu-cta {
    background: linear-gradient(135deg, #00549a 0%, #003d72 100%);
    color: #fff;
    padding: 90px 0;
    text-align: center;
}
.virtu-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.25;
    text-align: center;
}
.virtu-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .virtu-hero { padding: 100px 0 70px; }
    .virtu-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .virtu-hero h1 { font-size: 34px; text-align: center; }
    .virtu-lead { margin-left: auto; margin-right: auto; text-align: center; }
    .virtu-hero-ctas { justify-content: center; }
    .virtu-eyebrow { text-align: center; }

    .virtu-featurenav li { min-width: 96px; }
    .virtu-featurenav a { font-size: 12px; padding: 14px 6px 12px; }

    .virtu-feature { padding: 60px 0; }
    .virtu-feature h2 { font-size: 26px; text-align: center; }
    .virtu-feature h2::after { margin-left: auto; margin-right: auto; }
    .virtu-feature h3 { text-align: center; }

    .virtu-feature .imgz.half {
        max-width: 100%;
        float: none;
        margin: 20px 0;
    }

    .virtu-grouptypes { grid-template-columns: 1fr; gap: 16px; }

    .virtu-cta { padding: 64px 0; }
    .virtu-cta h2 { font-size: 26px; }
}

@media (max-width: 560px) {
    .virtu-hero h1 { font-size: 28px; }
    .virtu-lead { font-size: 16px; }
    .virtu-btn { width: 100%; text-align: center; }
    .virtu-hero-ctas { flex-direction: column; }
}
