/* ==========================================================================
   VDyna case study
   ========================================================================== */

/* VDyna Portfolio Page Styles */

/* Banner Slider Background */
.banner-slider__item {
    background-image: linear-gradient(to bottom, #011D28 0%, rgba(0, 0, 0, 0) 70%), url(../images/portfolio/vdyna/vdyna5.png);
}

/* Text Block Section Background and Padding */
.text-block-left {
    background-color: #011D28;
    padding: 80px 0;
}

/* SPH-MBS Code Box Styles */
.sph-mbs-wrapper-inline {
    --sph-window-bg: rgba(2, 42, 58, 0.8);
    --sph-border: rgba(255, 255, 255, 0.05);
    --sph-accent-red: #c1272d;
    --sph-text-main: #ffffff;
    --sph-text-muted: #64748b;
    --sph-code-func: #818cf8;
}

.sph-mbs-code-box {
    position: relative;
    width: 100%;
}

.sph-mbs-window {
    background-color: var(--sph-window-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid var(--sph-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255,255,255,0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sph-mbs-window::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to top, rgba(2, 42, 58, 1) 0%, rgba(2, 42, 58, 0.8) 80%, rgba(2, 42, 58, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.sph-mbs-bar {
    background-color: transparent;
    height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sph-border);
}

.sph-mbs-dots {
    display: flex;
    gap: 8px;
}

.sph-mbs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.sph-mbs-dot.r { background: rgba(239, 68, 68, 0.4); }
.sph-mbs-dot.y { background: rgba(234, 179, 8, 0.4); }
.sph-mbs-dot.g { background: rgba(34, 197, 94, 0.4); }

.sph-mbs-filename {
    margin-left: 16px;
}

/* FAQ Section Styles */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    outline: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
}

.faq-answer-inner {
    padding: 0 120px 24px 0;
    line-height: 1.6;
    color: #4b5563;
    font-size: 1.05rem;
}

#custom-faq-wrapper .faq-question:hover span {
    color: #2563eb;
}

#custom-faq-wrapper .faq-question:hover .faq-icon {
    stroke: #2563eb;
}

#custom-faq-wrapper .faq-question:focus {
    outline: none;
}

/* Software Interface Styles */
.software-interface-box {
    position: relative;
    background: rgba(2, 42, 58, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 12px;
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

/* Social Media Icons */
.social-icon {
    fill: #4d4d4d;
    fill-opacity: 0.75;
}

/* Core Capabilities Section Styles */
.constructor-section-styles {
    --sph-accent-red: #c1272d;
    color: #e2e8f0;
}

.animate-spin-slow {
    animation: sph-spin 12s linear infinite;
}

.animate-spin-reverse-slow {
    animation: sph-spin-reverse 8s linear infinite;
}

@keyframes sph-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sph-spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.perf-bar {
    transition: width 1s ease-in-out;
}

/* Render Section Styles */
.render-section-styles {
    --sph-accent-red: #c1272d;
}

.code-glow {
    box-shadow: 0 0 30px rgba(193, 39, 45, 0.12);
}

/* Unified bullet style (arrow style) */
.rendering-advantage-list,
.advantage-list {
    list-style: none;
    padding-left: 0;
}

.rendering-advantage-list li,
.advantage-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.rendering-advantage-list li::before,
.advantage-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #c1272d;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.rendering-advantage-list li:hover::before,
.advantage-list li:hover::before {
    transform: translateX(5px);
}

/* Core Capabilities Section */
.constructor-section {
    background-color: #f3f3f3;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 80px 0;
}

/* SVG Store Styles */
.svg-store {
    display: none;
}

/* FAQ Section Inline Styles */
.faq-item {
    border-top: 1px solid #e5e7eb;
}

.faq-question span {
    font-size: 1.25rem;
    font-weight: 400;
    padding-right: 20px;
    color: #1a1a1a;
    flex: 1;
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-right: 100px;
}

.faq-bottom-border {
    border-top: 1px solid #e5e7eb;
}

/* SPH-MBS Additional Styles */
.sph-mbs-body {
    display: flex;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 13px;
    line-height: 1.6;
    height: 420px;
    overflow: hidden; 
}

.sph-mbs-content {
    padding: 24px;
    color: var(--sph-text-main);
    white-space: pre;
    flex-grow: 1;
    margin: 0;
    overflow: hidden;
}

/* Syntax Highlighting */
.sph-c { color: var(--sph-text-muted); font-style: italic; }
.sph-k { color: var(--sph-accent-red); }
.sph-t { color: var(--sph-accent-red); }
.sph-f { color: var(--sph-code-func); }
.sph-v { color: var(--sph-text-main); }
.sph-o { color: var(--sph-accent-red); }

/* Floating Badge */
.sph-mbs-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background-color: var(--sph-accent-red);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -5px rgba(193, 39, 45, 0.5);
    animation: sph-pulse 2s infinite;
    z-index: 10;
}

@keyframes sph-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* List Style Compatibility */
.list2 { list-style: none; padding-left: 0; }
.list2 > li { position: relative; padding-left: 25px; margin-bottom: 12px; color: #333333; line-height: 1.75; }
.list2 > li::before { content: ""; position: absolute; left: 0; color: #c1272d; }

/* Dark Background Constructor Section Overrides */
.text-block-section.text-block-left .constructor-top .title,
.text-block-section.text-block-left .constructor-content .title {
    color: #ffffff;
}

.text-block-section.text-block-left .constructor-content p,
.text-block-section.text-block-left .content-block p {
    color: #cbd5e1;
    line-height: 1.75;
}

.text-block-section.text-block-left .list2 > li strong {
    color: #ffffff;
    font-weight: 700;
}

.text-block-section.text-block-left .list2 > li {
    color: #cbd5e1;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.text-block-section.text-block-left .constructor-top {
    margin-bottom: 40px;
}

.text-block-section.text-block-left .constructor-content {
    color: #ffffff;
}

.text-block-section.text-block-left .title {
    color: #ffffff;
    margin-bottom: 20px;
}

.text-block-section.text-block-left .title::after {
    background-color: #c1272d;
}

/* ========================================================================
   Tailwind class fallbacks for vdyna dark section text / layout colors.
   Used when cdn.tailwindcss.com fails to load (e.g. Vercel CSP / network).
   Selectors are scoped to .text-block-section (dark) where possible.
   ======================================================================== */

/* ---------- Text color / typography fallbacks (dark section) ---------- */
.text-block-section .text-white,
.text-block-section .text-\[white\] { color: #ffffff !important; }
.text-block-section .text-gray-400,
.text-block-section .text-\[gray-400\] { color: #9ca3af !important; }
.text-block-section .text-gray-500,
.text-block-section .text-\[gray-500\] { color: #6b7280 !important; }
.text-block-section .text-slate-500,
.text-block-section .text-\[slate-500\] { color: #64748b !important; }
.text-block-section .text-slate-800 { color: #1e293b !important; }
.text-block-section .text-indigo-400,
.text-block-section .text-indigo-500\/30 { color: #818cf8 !important; opacity: 0.3; }
.text-block-section .text-cyan-600\/5 { background-color: rgba(8, 145, 178, 0.05) !important; }
.text-block-section .text-green-400 { color: #4ade80 !important; }
.text-block-section .text-red-500\/40 { color: #ef4444 !important; opacity: 0.4; }
.text-block-section .text-yellow-500\/40 { color: #eab308 !important; opacity: 0.4; }
.text-block-section .text-green-500\/40 { color: #22c55e !important; opacity: 0.4; }

.text-block-section .text-\[\#c1272d\]\/40 { color: rgba(193, 39, 45, 0.4) !important; }
.text-block-section .text-\[\#c1272d\]\/50 { color: rgba(193, 39, 45, 0.5) !important; }
.text-block-section .text-\[\#c1272d\]\/60,
.text-block-section .group-hover\:text-\[\#c1272d\]\/60:hover,
.text-block-section .group:hover .group-hover\:text-\[\#c1272d\]\/60 { color: rgba(193, 39, 45, 0.6) !important; }
.text-block-section .text-\[\#c1272d\] { color: #c1272d !important; }

.text-block-section .uppercase { text-transform: uppercase !important; letter-spacing: 0.025em; }
.text-block-section .tracking-widest { letter-spacing: 0.1em !important; }
.text-block-section .font-mono { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace !important; }
.text-block-section .font-bold { font-weight: 700 !important; }
.text-block-section .italic { font-style: italic !important; }
.text-block-section .text-\[9px\] { font-size: 9px !important; }
.text-block-section .text-\[10px\] { font-size: 10px !important; }
.text-block-section .text-xs { font-size: 0.75rem !important; line-height: 1rem; }
.text-block-section .text-lg { font-size: 1.125rem !important; }
.text-block-section .text-\[7xl\] { font-size: 4.5rem !important; line-height: 1; }
.text-block-section .text-\[4xl\] { font-size: 2.25rem !important; line-height: 2.5rem; }
.text-block-section .text-\[10px\]\/40 { font-size: 10px !important; opacity: 0.4; }
.text-block-section .block { display: block !important; }

/* ---------- Layout / spacing fallbacks (dark section) ---------- */
.text-block-section .flex { display: flex !important; }
.text-block-section .flex-col { flex-direction: column !important; }
.text-block-section .sm\:flex-row,
.text-block-section .flex-row { flex-direction: row !important; }
.text-block-section .items-center { align-items: center !important; }
.text-block-section .items-center\.justify-center,
.text-block-section .justify-center { justify-content: center !important; }
.text-block-section .justify-between { justify-content: space-between !important; }
.text-block-section .justify-end { justify-content: flex-end !important; }
.text-block-section .gap-2 { gap: 0.5rem !important; }
.text-block-section .gap-3 { gap: 0.75rem !important; }
.text-block-section .gap-4 { gap: 1rem !important; }
.text-block-section .gap-6 { gap: 1.5rem !important; }
.text-block-section .grid { display: grid !important; }
.text-block-section .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.text-block-section .w-full { width: 100% !important; }
.text-block-section .w-2 { width: 0.5rem !important; }
.text-block-section .w-10 { width: 2.5rem !important; }
.text-block-section .w-16 { width: 4rem !important; }
.text-block-section .w-20 { width: 5rem !important; }
.text-block-section .w-64 { width: 16rem !important; }
.text-block-section .w-80 { width: 20rem !important; }
.text-block-section .h-1 { height: 0.25rem !important; }
.text-block-section .h-2 { height: 0.5rem !important; }
.text-block-section .h-10 { height: 2.5rem !important; }
.text-block-section .h-16 { height: 4rem !important; }
.text-block-section .h-64 { height: 16rem !important; }
.text-block-section .h-80 { height: 20rem !important; }
.text-block-section .h-full { height: 100% !important; }
.text-block-section .min-h-\[350px\] { min-height: 350px !important; }
.text-block-section .rounded-full { border-radius: 9999px !important; }
.text-block-section .rounded-\[100px\] { border-radius: 100px !important; }
.text-block-section .rounded-2xl { border-radius: 1rem !important; }
.text-block-section .rounded-xl { border-radius: 0.75rem !important; }
.text-block-section .rounded-lg { border-radius: 0.5rem !important; }
.text-block-section .rounded-md { border-radius: 0.375rem !important; }
.text-block-section .p-1 { padding: 0.25rem !important; }
.text-block-section .p-4 { padding: 1rem !important; }
.text-block-section .p-6 { padding: 1.5rem !important; }
.text-block-section .p-8 { padding: 2rem !important; }
.text-block-section .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.text-block-section .py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.text-block-section .pt-4 { padding-top: 1rem !important; }
.text-block-section .pl-4 { padding-left: 1rem !important; }
.text-block-section .pr-4 { padding-right: 1rem !important; }
.text-block-section .mt-1 { margin-top: 0.25rem !important; }
.text-block-section .mt-4 { margin-top: 1rem !important; }
.text-block-section .mt-6 { margin-top: 1.5rem !important; }
.text-block-section .mt-8 { margin-top: 2rem !important; }
.text-block-section .mb-1 { margin-bottom: 0.25rem !important; }
.text-block-section .mb-2 { margin-bottom: 0.5rem !important; }
.text-block-section .mb-3 { margin-bottom: 0.75rem !important; }
.text-block-section .mb-4 { margin-bottom: 1rem !important; }
.text-block-section .mb-8 { margin-bottom: 2rem !important; }
.text-block-section .ml-2 { margin-left: 0.5rem !important; }
.text-block-section .-mt-6 { margin-top: -1.5rem !important; }
.text-block-section .-mr-12 { margin-right: -3rem !important; }
.text-block-section .-top-10 { top: -2.5rem !important; }
.text-block-section .-left-10 { left: -2.5rem !important; }
.text-block-section .-right-10 { right: -2.5rem !important; }
.text-block-section .-bottom-4 { bottom: -1rem !important; }
.text-block-section .-right-4 { right: -1rem !important; }
.text-block-section .-translate-x-1\/2,
.text-block-section .-translate-x-1\/2 { transform: translateX(-50%) !important; }
.text-block-section .space-y-1 > * + * { margin-top: 0.25rem !important; }
.text-block-section .space-y-4 > * + * { margin-top: 1rem !important; }
.text-block-section .space-y-6 > * + * { margin-top: 1.5rem !important; }
.text-block-section .space-x-4 > * + * { margin-left: 1rem !important; }
.text-block-section .space-x-2 > * + * { margin-left: 0.5rem !important; }

.text-block-section .col-span-2 { grid-column: span 2 / span 2 !important; }
.text-block-section .col-span-1 { grid-column: span 1 / span 1 !important; }

.text-block-section .relative { position: relative !important; }
.text-block-section .absolute { position: absolute !important; }
.text-block-section .fixed { position: fixed !important; }
.text-block-section .inset-0 { top: 0; right: 0; bottom: 0; left: 0 !important; }
.text-block-section .left-0 { left: 0 !important; }
.text-block-section .right-0 { right: 0 !important; }
.text-block-section .top-0 { top: 0 !important; }
.text-block-section .bottom-0 { bottom: 0 !important; }
.text-block-section .left-1\/2 { left: 50% !important; }
.text-block-section .z-10 { z-index: 10 !important; }
.text-block-section .z-\[10\] { z-index: 10 !important; }

.text-block-section .overflow-hidden { overflow: hidden !important; }
.text-block-section .transition-colors { transition-property: color, background-color, border-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.text-block-section .transition-all { transition: all 0.3s ease !important; }
.text-block-section .duration-500 { transition-duration: 500ms !important; }
.text-block-section .pointer-events-none { pointer-events: none !important; }
.text-block-section .opacity-10 { opacity: 0.1 !important; }
.text-block-section .opacity-20 { opacity: 0.2 !important; }
.text-block-section .opacity-40 { opacity: 0.4 !important; }
.text-block-section .opacity-60 { opacity: 0.6 !important; }
.text-block-section .opacity-75 { opacity: 0.75 !important; }

.text-block-section .sm\:w-1\/3 { width: 33.333333% !important; }
.text-block-section .sm\:w-1\/2 { width: 50% !important; }
.text-block-section .sm\:w-2\/3 { width: 66.666667% !important; }
@media (min-width: 640px) {
    .text-block-section .sm\:flex-row { flex-direction: row !important; }
    .text-block-section .sm\:w-1\/3 { width: 33.333333% !important; }
    .text-block-section .sm\:w-1\/2 { width: 50% !important; }
    .text-block-section .sm\:w-2\/3 { width: 66.666667% !important; }
}

/* ---------- Background / border fallbacks (dark section) ---------- */
.text-block-section .border { border-width: 1px !important; border-style: solid !important; }
.text-block-section .border-t { border-top-width: 1px !important; border-top-style: solid !important; }
.text-block-section .border-b { border-bottom-width: 1px !important; border-bottom-style: solid !important; }
.text-block-section .border-white\/5,
.text-block-section .border-white\/10 { border-color: rgba(255, 255, 255, 0.05) !important; }
.text-block-section .border-\[\#c1272d\]\/30 { border-color: rgba(193, 39, 45, 0.3) !important; }
.text-block-section .border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.text-block-section .border-white\/10 { border-color: rgba(255, 255, 255, 0.1) !important; }
.text-block-section .border-t-white\/10 { border-top-color: rgba(255, 255, 255, 0.1) !important; }
.text-block-section .border-b-white\/10 { border-bottom-color: rgba(255, 255, 255, 0.1) !important; }

.text-block-section .bg-white\/5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.text-block-section .bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.text-block-section .bg-\[\#022a3a\]\/40 { background-color: rgba(2, 42, 58, 0.4) !important; }
.text-block-section .bg-\[\#022a3a\]\/60 { background-color: rgba(2, 42, 58, 0.6) !important; }
.text-block-section .bg-\[\#022a3a\]\/80 { background-color: rgba(2, 42, 58, 0.8) !important; }
.text-block-section .bg-\[\#c1272d\]\/10 { background-color: rgba(193, 39, 45, 0.1) !important; }
.text-block-section .bg-\[\#c1272d\]\/5 { background-color: rgba(193, 39, 45, 0.05) !important; }
.text-block-section .bg-\[\#c1272d\] { background-color: #c1272d !important; }
.text-block-section .bg-black { background-color: #000 !important; }
.text-block-section .bg-slate-800 { background-color: #1e293b !important; }
.text-block-section .bg-cyan-600\/5 { background-color: rgba(8, 145, 178, 0.05) !important; }
.text-block-section .bg-cyan-500\/10 { background-color: rgba(6, 182, 212, 0.1) !important; }
.text-block-section .bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)) !important; }
.text-block-section .from-\[\#c1272d\]\/5 { --tw-gradient-from: rgba(193, 39, 45, 0.05); --tw-gradient-stops: var(--tw-gradient-from), transparent; }
.text-block-section .to-transparent { background-image: linear-gradient(to bottom right, rgba(193, 39, 45, 0.05), transparent) !important; }

.text-block-section .backdrop-blur-md,
.text-block-section .backdrop-blur-xl { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.text-block-section .blur-\[100px\] { filter: blur(100px); }
.text-block-section .blur-\[80px\] { filter: blur(80px); }

.text-block-section .group-hover\:scale-110:hover,
.text-block-section .group:hover .group-hover\:scale-110 { transform: scale(1.1) !important; }
.text-block-section .hover\:scale-110:hover { transform: scale(1.1) !important; }
.text-block-section .transition-transform { transition: transform 0.3s ease !important; }
.text-block-section .hover\:border-\[\#c1272d\]\/50:hover { border-color: rgba(193, 39, 45, 0.5) !important; }
.text-block-section .group:hover .group-hover\:border-\[\#c1272d\]\/50 { border-color: rgba(193, 39, 45, 0.5) !important; }
.text-block-section .group:hover .group-hover\:bg-\[\#c1272d\]\/10 { background-color: rgba(193, 39, 45, 0.1) !important; }
.text-block-section .hover\:bg-\[\#c1272d\]\/10:hover { background-color: rgba(193, 39, 45, 0.1) !important; }

.text-block-section .group:hover .group-hover\:text-white { color: #ffffff !important; }
.text-block-section .bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important; }
.text-block-section .from-\[\#c1272d\]\/10 { --tw-gradient-from: rgba(193, 39, 45, 0.1) !important; background-image: linear-gradient(to right, rgba(193, 39, 45, 0.1), transparent) !important; }

/* ---------- Animations fallbacks ---------- */
.text-block-section .animate-pulse { animation: tw-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important; }
.text-block-section .animate-bounce { animation: tw-bounce 1s infinite !important; }
@keyframes tw-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes tw-bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ---------- FAQ / Core Capabilities (light section, bg #f3f3f3) ---------- */
.section.constructor-section[style*="#f3f3f3"] .faq-question span,
.section.constructor-section[style*="f3f3f3"] .faq-question span {
    color: #1a1a1a !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    flex: 1 1 0% !important;
    padding-right: 20px !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-icon,
.section.constructor-section[style*="f3f3f3"] .faq-icon {
    stroke: #1a1a1a !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 100px !important;
    flex-shrink: 0 !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-question {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 24px 0 !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    font-family: inherit;
}
.section.constructor-section[style*="#f3f3f3"] .faq-item {
    border-top: 1px solid #e5e7eb !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-bottom-border {
    border-top: 1px solid #e5e7eb !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-question:hover span {
    color: #2563eb !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-question:hover .faq-icon {
    stroke: #2563eb !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background-color: transparent !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-item.active .faq-answer {
    max-height: 600px !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-answer-inner {
    padding: 0 120px 24px 0 !important;
    line-height: 1.6 !important;
    color: #4b5563 !important;
    font-size: 1.05rem !important;
}
.section.constructor-section[style*="#f3f3f3"] .faq-item.active .faq-icon {
    transform: rotate(180deg) !important;
}

/* Ensure Solver Methodologies tabs read correctly in the light section */
.section.constructor-section .tab-btn {
    cursor: pointer !important;
    font-family: inherit !important;
}

/* --- Page-specific inline styles (extracted from the original page) --- */

		/* 深蓝区块整体文字基色 */
		.text-block-section.text-block-left{background-color:#011D28;color:#ffffff;}
		.text-block-section.text-block-left .title,
		.text-block-section.text-block-left h1,
		.text-block-section.text-block-left h2,
		.text-block-section.text-block-left h3,
		.text-block-section.text-block-left h5{color:#ffffff !important;}
		.text-block-section.text-block-left .constructor-content,
		.text-block-section.text-block-left .content-block,
		.text-block-section.text-block-left .text-block-section-content,
		.text-block-section.text-block-left .column-item__description{color:#cbd5e1;}
		.text-block-section.text-block-left .constructor-content p,
		.text-block-section.text-block-left .content-block p{color:#cbd5e1 !important;line-height:1.75;}
		/* 左列说明文字 list2 */
		.text-block-section.text-block-left .list2{list-style:none;padding-left:0;}
		.text-block-section.text-block-left .list2>li{color:#cbd5e1 !important;line-height:1.75;margin-bottom:1rem;position:relative;padding-left:25px;}
		.text-block-section.text-block-left .list2>li strong{color:#ffffff !important;font-weight:700;}
		.text-block-section.text-block-left .list2>li i{color:#ffffff;}
		/* 代码窗口 sph_mbs（第一个右侧组件）：结构 + 红绿灯 + 底部渐变遮罩 + 代码着色，内联保证外部 CSS 缺失时仍完整 */
		.sph-mbs-wrapper-inline{--sph-window-bg:rgba(2,42,58,.8);--sph-border:rgba(255,255,255,.05);--sph-accent-red:#c1272d;--sph-text-main:#ffffff;--sph-text-muted:#64748b;--sph-code-func:#818cf8;}
		.sph-mbs-code-box{position:relative;width:100%;}
		.sph-mbs-window{position:relative;display:flex;flex-direction:column;background-color:rgba(2,42,58,.8);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:16px;border:1px solid rgba(255,255,255,.05);box-shadow:0 25px 50px -12px rgba(0,0,0,.5),inset 0 0 20px rgba(255,255,255,.02);overflow:hidden;}
		.sph-mbs-window::after{content:"";position:absolute;bottom:0;left:0;right:0;height:220px;background:linear-gradient(to top,rgba(2,42,58,1) 0%,rgba(2,42,58,.8) 80%,rgba(2,42,58,0) 100%);pointer-events:none;z-index:5;}
		.sph-mbs-bar{background-color:transparent;height:50px;padding:0 20px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.05);}
		.sph-mbs-dots{display:flex;gap:8px;}
		.sph-mbs-dot{width:8px;height:8px;border-radius:50%;}
		.sph-mbs-dot.r{background:rgba(239,68,68,.4);}
		.sph-mbs-dot.y{background:rgba(234,179,8,.4);}
		.sph-mbs-dot.g{background:rgba(34,197,94,.4);}
		.sph-mbs-filename{margin-left:16px;color:#cbd5e1;}
		.sph-mbs-body{display:flex;font-family:'SFMono-Regular',Consolas,monospace;font-size:13px;line-height:1.6;height:420px;overflow:hidden;}
		.sph-mbs-content{padding:24px;color:#ffffff;white-space:pre;flex-grow:1;margin:0;overflow:hidden;}
		.sph-c{color:#64748b;font-style:italic;}
		.sph-k,.sph-t,.sph-o{color:#c1272d;}
		.sph-f{color:#818cf8;}
		.sph-v{color:#ffffff;}
		.sph-mbs-badge{position:absolute;bottom:-16px;right:-16px;background-color:#c1272d;width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px -5px rgba(193,39,45,.5);z-index:10;}
		/* Core Capabilities 浅底 FAQ 下拉 */
		.constructor-section[style*="f3f3f3"] .faq-question{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:none;text-align:left;cursor:pointer;padding:24px 0;}
		.constructor-section[style*="f3f3f3"] .faq-question span{color:#1a1a1a;font-size:1.25rem;flex:1;}
		.constructor-section[style*="f3f3f3"] .faq-icon{stroke:#1a1a1a;width:20px;height:20px;flex-shrink:0;}
		.constructor-section[style*="f3f3f3"] .faq-answer{max-height:0;overflow:hidden;}
		.constructor-section[style*="f3f3f3"] .faq-item.active .faq-answer{max-height:600px;}
		.constructor-section[style*="f3f3f3"] .faq-answer-inner{color:#4b5563;}
	

/* Solver tabs: the original buttons carried these styles inline. */
.tab-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px 5px 0 0;
  background-color: #e0e0e0;
  color: #666;
  font: inherit;
  cursor: pointer;
  margin-right: 2px;
}
.tab-btn.active {
  background-color: #fff;
  border-bottom: 3px solid #0000ff;
  color: #000;
}
.tab-btn:focus-visible {
  outline: 2px solid #c1272d;
  outline-offset: 2px;
}
