/* VB Dynamic Ultra - Shared Styles
   Extracted from page CSS files for single-source-of-truth.
   Loaded globally via vbdu-styles handle. */

/* ========================================
   GLOBAL RESET
   ======================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   BASE LAYOUT
   ======================================== */

.vb-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #1f2937;
    background: #ffffff;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.vb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

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

/* ========================================
   TESTIMONIALS SLIDER (.vbp-)
   ======================================== */

.vbp-testimonials-slider-section {
    padding: 140px 0;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    overflow: hidden;
}

.vbp-testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.vbp-testimonials-header h2 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 24px;
}

.vbp-testimonials-header p {
    font-size: 20px;
    line-height: 1.7;
    color: #6b7280;
}

.vbp-testimonials-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 60px;
    padding: 8px 0;
    overflow-x: hidden;
    overflow-y: visible;
}

.vbp-testimonials-row {
    display: flex;
    gap: 24px;
    width: max-content;
}

.vbp-testimonial-card-scroll {
    min-width: 400px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(42, 120, 130, 0.1);
    flex-shrink: 0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vbp-testimonial-card-scroll:hover {
    border-color: #2a7882;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 120, 130, 0.12);
}

.vbp-quote-icon {
    color: rgba(42, 120, 130, 0.15);
}

.vbp-testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    margin: 0;
}

.vbp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vbp-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Avatar Color Variations */
.vbp-avatar-green {
    background: #d1fae5;
    color: #059669;
}

.vbp-avatar-teal {
    background: rgba(42, 120, 130, 0.15);
    color: #2a7882;
}

.vbp-avatar-coral {
    background: rgba(211, 90, 88, 0.15);
    color: #d35a58;
}

.vbp-avatar-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.vbp-testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px;
}

.vbp-testimonial-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Scrolling Animations */
.vbp-scroll-left {
    animation: scrollLeft 100s linear infinite;
}

.vbp-scroll-right {
    animation: scrollRight 100s linear infinite;
}

/* Pause animation on hover */
.vbp-testimonials-scroll-container:hover .vbp-testimonials-row {
    animation-play-state: paused;
}

/* ========================================
   FAQ ACCORDION (.vb-faq-*)
   ======================================== */

.vb-faq {
    padding: 160px 0;
    background: #f9fafb;
}

/* Kill all outlines in FAQ */
.vb-faq *,
.vb-faq *:focus,
.vb-faq *:focus-visible,
.vb-faq *:active {
    outline: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.vb-faq button,
.vb-faq button:focus,
.vb-faq button:focus-visible,
.vb-faq button:active {
    outline: none !important;
    border: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.vb-faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.vb-faq-header h2 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 24px;
}

.vb-faq-header p {
    font-size: 20px;
    line-height: 1.8;
    color: #6b7280;
}

.vb-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.vb-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    outline: none !important;
}

.vb-faq-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.vb-faq-item.active {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.vb-faq-item:focus-within {
    outline: none !important;
    border-color: #d1d5db;
}

.vb-faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 28px;
    background: #ffffff !important;
    border: none !important;
    font-size: 17px;
    font-weight: 600;
    color: #111827 !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none !important;
}

.vb-faq-question:hover {
    background: #f9fafb !important;
    color: #111827 !important;
    outline: none !important;
    box-shadow: none !important;
}

.vb-faq-question:focus {
    background: #f9fafb !important;
    color: #111827 !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.vb-faq-question:focus-visible {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.vb-faq-question:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.vb-faq-question span {
    color: #111827 !important;
}

.vb-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e8f5e9;
    color: #1a472a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s ease;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.vb-faq-item.active .vb-faq-icon {
    transform: rotate(45deg);
    background: #1a472a;
    color: #ffffff;
}

.vb-faq-item:hover .vb-faq-icon {
    background: #d1fae5;
}

.vb-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.vb-faq-item.active .vb-faq-answer {
    max-height: 500px;
}

.vb-faq-answer-content {
    padding: 15px 28px 28px;
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
}

.vb-faq-answer-content a {
    color: #1a472a;
    transition: color 0.2s;
}

.vb-faq-answer-content a:hover {
    color: #059669;
}

.vb-faq-answer-content ul {
    margin: 0;
    padding-left: 20px;
}

.vb-faq-answer-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.vb-faq-answer-content li:last-child {
    margin-bottom: 0;
}

/* ========================================
   CTA SECTION (.vb-cta-*)
   ======================================== */

.vb-cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.vb-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #16627c;
    z-index: 0;
}

.vb-cta-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 100px,
            rgba(255, 255, 255, 0.02) 200px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 100px,
            rgba(255, 255, 255, 0.02) 200px
        );
    opacity: 1;
}

.vb-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vb-cta h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 24px;
}

.vb-cta p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.vb-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: #ffffff;
    color: #2a7882;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 2px solid #ffffff;
}

.vb-cta-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #2a7882;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ========================================
   FOOTER (.vb-footer-*)
   ======================================== */

.vb-footer {
    background: #111827;
    color: #ffffff;
}

.vb-footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Ensure footer content stays above bull background */
.vb-footer-top .vb-container {
    position: relative;
    z-index: 1;
}

.vb-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

.vb-footer-brand {
    max-width: 320px;
}

.vb-footer-logo {
    margin-bottom: 24px;
}

.vb-footer-logo img {
    height: 48px;
    opacity: 0.95;
}

.vb-footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.vb-footer-social {
    display: flex;
    gap: 16px;
}

.vb-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.vb-footer-social a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.vb-footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.vb-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vb-footer-column ul li {
    margin-bottom: 12px;
}

.vb-footer-column ul li:last-child {
    margin-bottom: 0;
}

.vb-footer-column a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.vb-footer-column a:hover {
    color: #ffffff;
}

.vb-footer-disclaimer {
    position: relative;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vb-disclaimer-text {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* Bull Background Animation */
.vb-footer-bull-bg {
    position: absolute;
    right: -50px;
    bottom: -50px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.vb-footer-bottom {
    padding: 32px 0;
    background: #111827;
}

.vb-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vb-footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.vb-footer-links {
    display: flex;
    gap: 32px;
}

.vb-footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.vb-footer-links a:hover {
    color: #ffffff;
}

/* ========================================
   LEGAL PAGES (.vb-legal-*)
   ======================================== */

.vb-legal-page {
    background: #ffffff;
}

.vb-legal-hero {
    padding: 100px 0 60px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.vb-legal-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 16px;
}

.vb-legal-hero-meta {
    font-size: 16px;
    color: #6b7280;
}

.vb-legal-content {
    padding: 80px 0 120px;
}

.vb-legal-inner {
    max-width: 900px;
    margin: 0 auto;
}

.vb-legal-inner h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-top: 60px;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.vb-legal-inner h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-top: 40px;
    margin-bottom: 16px;
}

.vb-legal-inner p {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.vb-legal-inner ul,
.vb-legal-inner ol {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
    padding-left: 24px;
}

.vb-legal-inner li {
    margin-bottom: 12px;
}

.vb-legal-inner a {
    color: #1a472a;
    text-decoration: underline;
    transition: color 0.2s;
}

.vb-legal-inner a:hover {
    color: #059669;
}

.vb-legal-inner strong {
    font-weight: 600;
    color: #111827;
}

.vb-legal-highlight {
    background: #f0fdf4;
    border-left: 4px solid #1a472a;
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
}

.vb-legal-highlight p {
    margin-bottom: 0;
}

/* ========================================
   RESPONSIVE - 1024px
   ======================================== */

@media (max-width: 1024px) {
    /* Testimonials */
    .vbp-testimonials-slider-section {
        padding: 100px 0;
    }

    .vbp-testimonial-card-scroll {
        min-width: 350px;
        max-width: 350px;
    }

    /* FAQ */
    .vb-faq {
        padding: 120px 0;
    }

    /* CTA */
    .vb-cta {
        padding: 120px 0;
    }

    .vb-cta h2 {
        font-size: 52px;
    }

    /* Footer */
    .vb-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .vb-footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

/* ========================================
   RESPONSIVE - 768px
   ======================================== */

@media (max-width: 768px) {
    /* Base */
    .vb-container {
        padding: 0 20px;
    }

    /* Testimonials */
    .vbp-testimonials-slider-section {
        padding: 80px 0;
    }

    .vbp-testimonials-header {
        margin-bottom: 40px;
    }

    .vbp-testimonials-header h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .vbp-testimonials-header p {
        font-size: 18px;
    }

    .vbp-testimonial-card-scroll {
        min-width: 300px;
        max-width: 300px;
        padding: 28px;
    }

    .vbp-testimonials-scroll-container {
        margin-top: 40px;
    }

    /* FAQ */
    .vb-faq {
        padding: 80px 0;
    }

    .vb-faq-header {
        margin-bottom: 60px;
    }

    .vb-faq-header h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .vb-faq-header p {
        font-size: 18px;
    }

    .vb-faq-question {
        padding: 24px 28px;
        font-size: 17px;
    }

    .vb-faq-answer-content {
        padding: 0 28px 28px;
        font-size: 16px;
    }

    /* CTA */
    .vb-cta {
        padding: 80px 0;
    }

    .vb-cta h2 {
        font-size: 40px;
    }

    .vb-cta p {
        font-size: 19px;
    }

    .vb-cta-button {
        padding: 16px 40px;
        font-size: 17px;
    }

    /* Footer */
    .vb-footer-top {
        padding: 60px 0 40px;
    }

    .vb-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .vb-footer-brand {
        grid-column: 1;
    }

    .vb-footer-disclaimer {
        padding: 40px 0;
    }

    .vb-disclaimer-text {
        font-size: 12px;
        line-height: 1.7;
    }

    .vb-footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .vb-footer-links {
        flex-direction: column;
        gap: 16px;
    }

    /* Legal */
    .vb-legal-hero {
        padding: 80px 0 40px;
    }

    .vb-legal-hero h1 {
        font-size: 36px;
    }

    .vb-legal-content {
        padding: 60px 0 80px;
    }

    .vb-legal-inner h2 {
        font-size: 28px;
        margin-top: 48px;
    }

    .vb-legal-inner h3 {
        font-size: 22px;
    }

    .vb-legal-inner p,
    .vb-legal-inner ul,
    .vb-legal-inner ol {
        font-size: 16px;
    }
}

/* ========================================
   SHARED VIDEO WRAPPER (responsive 16:9)
   ======================================== */

.vb-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.vb-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
