/* ============================================================
   ACIDREFLUX.AI - MAIN STYLESHEET
   Based on GERDHelp.com layout, customized for our brand
   ============================================================

   TABLE OF CONTENTS:
   1. CSS Variables (Colors, Fonts, Spacing)
   2. Reset & Base Styles
   3. Typography
   4. Grid System (Foundation-based)
   5. Buttons
   6. Header & Navigation
   7. Hero Section
   8. Content Blocks
   9. Testimonials
   10. Checklists
   11. Statistics/Numbers
   12. Footer
   13. Utility Classes
   14. Responsive / Mobile

   ============================================================ */


/* ============================================================
   1. CSS VARIABLES
   Change these to customize the entire site's look
   ============================================================ */

:root {
    /* Primary Colors */
    --color-primary: #1a5f7a;           /* Main blue - headers, accents */
    --color-primary-light: #2980b9;     /* Lighter blue - gradients */
    --color-primary-dark: #0d2d3a;      /* Dark blue - footer */

    /* Accent Colors */
    --color-accent: #e67e22;            /* Orange - buttons, highlights */
    --color-accent-hover: #d35400;      /* Darker orange - button hover */

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-light-gray: #f0f4f8;
    --color-medium-gray: #666666;
    --color-dark-gray: #333333;
    --color-black: #000000;

    /* Fonts */
    --font-primary: 'Muli', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}


/* ============================================================
   2. RESET & BASE STYLES
   ============================================================ */

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

html {
    font-size: 100%;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-dark-gray);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}

/* Large text classes */
.f24 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.f28 {
    font-size: 1.75rem;
    line-height: 1.3;
}

/* Quote styling */
.quote {
    font-style: italic;
    color: var(--color-primary);
    border-left: 4px solid var(--color-accent);
    padding-left: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

small {
    font-size: 0.85rem;
    color: var(--color-medium-gray);
}


/* ============================================================
   4. GRID SYSTEM
   Based on Foundation's 12-column grid
   ============================================================ */

/* Container */
.content-regular {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Row */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row::before,
.row::after {
    display: table;
    content: ' ';
}

.row::after {
    clear: both;
}

.row.expanded {
    max-width: none;
}

.row.align-middle {
    align-items: center;
}

/* Columns */
.column {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Column sizes for medium screens (768px+) */
@media screen and (min-width: 768px) {
    .medium-3 { width: 25%; }
    .medium-4 { width: 33.333%; }
    .medium-5 { width: 41.666%; }
    .medium-6 { width: 50%; }
    .medium-7 { width: 58.333%; }
    .medium-8 { width: 66.666%; }
    .medium-9 { width: 75%; }
    .medium-10 { width: 83.333%; }
    .medium-11 { width: 91.666%; }
    .medium-12 { width: 100%; }
}

/* Column sizes for large screens (1024px+) */
@media screen and (min-width: 1024px) {
    .large-5 { width: 41.666%; }
    .large-6 { width: 50%; }
    .large-7 { width: 58.333%; }
}

/* Column sizes for xlarge screens (1230px+) */
@media screen and (min-width: 1230px) {
    .xlarge-5 { width: 41.666%; }
    .xlarge-7 { width: 58.333%; }
}

/* Flip classes - reverse column order */
@media screen and (min-width: 768px) {
    .flipa { order: 1; }
    .flipb { order: 2; }
}

/* Column utilities */
.end { float: none; }
.clear { clear: both; }


/* ============================================================
   5. BUTTONS
   ============================================================ */

.button {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: 3px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

/* Orange button (primary CTA) */
.button.orange {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.button.orange:hover {
    background: var(--color-white);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Button with border (for use on colored backgrounds) */
.button.border {
    border-width: 3px;
    border-style: solid;
}

/* Button icon */
.button i {
    margin-left: 8px;
}


/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */

.header {
    background: var(--color-white);
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Sticky behavior */
.sticky-bar {
    transition: box-shadow var(--transition-normal);
}

.sticky-bar.sticky-on {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Top bar (desktop nav) */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

/* Navigation menu */
.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-right: 30px;
}

.menu li:last-child {
    margin-right: 0;
}

.menu a {
    font-weight: 600;
    color: var(--color-dark-gray);
    padding: 10px 0;
    transition: color var(--transition-fast);
}

.menu a:hover {
    color: var(--color-primary);
}

/* Logo */
.logo-text {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    margin-right: 40px;
}

.logo-text span {
    color: var(--color-accent);
}

/* Mobile nav bar */
.title-bar {
    display: none;
    padding: 10px 15px;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */

.home-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 60%, #3498db 100%);
    padding: var(--spacing-xl) 0;
    color: var(--color-white);
    min-height: 400px;
}

/* Gradient overlay on left side for text readability against video */
.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 95, 122, 0.95) 0%, rgba(26, 95, 122, 0.85) 50%, rgba(26, 95, 122, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.home-hero .content-regular {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.home-hero h6 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.home-hero .button {
    margin-top: var(--spacing-sm);
}

@media screen and (min-width: 768px) {
    .home-hero {
        padding: 80px 0;
        min-height: 500px;
    }

    .home-hero h1 {
        font-size: 3rem;
    }
}


/* ============================================================
   8. CONTENT BLOCKS
   Standard section styling
   ============================================================ */

/* Block 2 - Stats/Info section (light background) */
.home-block-2 {
    background: var(--color-off-white);
    padding: var(--spacing-xl) 0;
}

/* Back2 block - with background image */
.home-block-back2 {
    background: url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1400') no-repeat center center;
    background-size: cover;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.home-block-back2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
}

.home-block-back2 > * {
    position: relative;
    z-index: 1;
}

/* Consultation/Stats block */
.home-block-consultation {
    background: var(--color-off-white);
    padding: var(--spacing-xl) 0;
}

.home-block-consultation .copy {
    margin-bottom: var(--spacing-lg);
}

.home-block-consultation .col3 {
    margin-bottom: var(--spacing-lg);
}

/* Procedure block (doctor quote) */
.home-procedure {
    background: var(--color-white);
    padding: var(--spacing-xl) 0;
}

/* References block */
.references-block {
    background: var(--color-light-gray);
    padding: var(--spacing-lg) 0;
}


/* ============================================================
   8.5 CHAT SECTION
   AI Chat interface styling
   ============================================================ */

.chat-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: var(--spacing-xl) 0;
}

.chat-section h2 {
    color: var(--color-white);
}

.chat-box {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    overflow: hidden;
}

.chat-header {
    background: var(--color-off-white);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
}

.chat-header-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-dark-gray);
}

.chat-header-info p {
    font-size: 0.8rem;
    color: var(--color-primary);
    margin: 0;
}

.chat-status {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #22c55e;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.chat-messages {
    height: 350px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    gap: 0.75rem;
    max-width: 85%;
}

.message.user {
    margin-left: auto;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.message.assistant .msg-avatar {
    background: var(--color-light-gray);
    color: var(--color-primary);
}

.message.user .msg-avatar {
    background: var(--color-accent);
    color: var(--color-white);
}

.msg-bubble {
    padding: 0.875rem 1.125rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.assistant .msg-bubble {
    background: var(--color-off-white);
    border-bottom-left-radius: 4px;
    color: var(--color-dark-gray);
}

.message.user .msg-bubble {
    background: var(--color-primary);
    color: var(--color-white);
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-medium-gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-area {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input:focus {
    border-color: var(--color-primary);
}

.chat-send {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--color-white);
    font-size: 1.1rem;
}

.chat-send:hover {
    background: var(--color-accent-hover);
}

.chat-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media screen and (max-width: 767px) {
    .chat-messages {
        height: 280px;
    }

    .chat-section .column {
        margin-bottom: var(--spacing-md);
    }
}


/* ============================================================
   9. TESTIMONIALS
   ============================================================ */

/* Testimonial block (colored background) */
.home-block-testimonial {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: var(--spacing-xl) 0;
    color: var(--color-white);
}

.home-block-testimonial h5 {
    color: var(--color-white);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
}

/* Testimonial 2 (quote marks style) */
.home-block-testimonial2 {
    background: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.testimonial2 {
    text-align: center;
}

.testimonial2 h4 {
    color: var(--color-primary);
    font-style: italic;
    font-weight: 600;
}


/* ============================================================
   10. CHECKLISTS
   ============================================================ */

/* TIF block (checklist with colored background) */
.home-block-tif {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2471a3 100%);
    padding: var(--spacing-xl) 0;
    color: var(--color-white);
}

.home-block-tif h2 {
    color: var(--color-white);
}

/* Checklist styling */
ul.check {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

ul.check li {
    position: relative;
    padding-left: 60px;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--color-white);
}

ul.check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

ul.check li em {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 4px;
}


/* ============================================================
   11. STATISTICS / NUMBERS
   Circular stat displays
   ============================================================ */

.stat-circle {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-md);
}

.stat-circle.primary {
    background: var(--color-primary);
}

.stat-circle.accent {
    background: var(--color-accent);
}

.stat-circle .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.stat-circle .label {
    font-size: 0.9rem;
    color: var(--color-white);
    text-align: center;
}


/* ============================================================
   12. FOOTER
   ============================================================ */

.footer {
    background: var(--color-primary-dark);
    color: #ccc;
}

.footer-stripe {
    background: var(--color-primary);
    padding: var(--spacing-md) 0;
}

.inner-footer {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer .logo-text {
    color: var(--color-white);
}

.footer a {
    color: #a8d8ea;
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--color-white);
}

.footer p,
.footer li {
    color: #ccc;
    font-size: 0.95rem;
}

/* Footer navigation */
.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li {
    margin-bottom: 10px;
}

/* Footer bottom bar */
.footer .copyright {
    font-size: 0.8rem;
    margin: 0;
}


/* ============================================================
   13. UTILITY CLASSES
   ============================================================ */

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display */
.show-for-medium { display: none; }
.show-for-xlarge { display: none; }

@media screen and (min-width: 768px) {
    .show-for-medium { display: block; }
    .hide-for-medium { display: none; }
}

@media screen and (min-width: 1230px) {
    .show-for-xlarge { display: block; }
}

/* Padding helpers */
.nopadall { padding: 0; }
.nopadr { padding-right: 0; }

/* Center on mobile */
.center-mobile {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .center-mobile {
        text-align: left;
    }
}

/* Vertical menu (footer) */
.vertical.menu {
    flex-direction: column;
}

.vertical.menu li {
    margin-right: 0;
    margin-bottom: 10px;
}


/* ============================================================
   14. RESPONSIVE / MOBILE
   ============================================================ */

@media screen and (max-width: 767px) {
    /* Show mobile nav, hide desktop */
    .title-bar {
        display: block;
    }

    .show-for-xlarge,
    .top-bar.show-for-xlarge {
        display: none !important;
    }

    /* Smaller headings on mobile */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }

    .f24 { font-size: 1.2rem; }
    .f28 { font-size: 1.4rem; }

    /* Stack columns on mobile */
    .column {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    /* Reduce section padding */
    .home-hero,
    .home-block-2,
    .home-block-testimonial,
    .home-block-back2,
    .home-block-testimonial2,
    .home-block-tif,
    .home-block-consultation,
    .home-procedure {
        padding: var(--spacing-lg) 0;
    }

    /* Center text on mobile */
    .text-right {
        text-align: center;
    }
}

@media screen and (min-width: 768px) and (max-width: 1229px) {
    /* Tablet adjustments */
    .title-bar {
        display: none;
    }
}

/* ============================================================
   UNIFIED BFAI FOOTER STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.bfai-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.bfai-footer-site {
    padding: 30px 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bfai-footer-site-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.bfai-footer-brand { max-width: 100%; }
.bfai-footer-logo { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.bfai-footer-logo-domain { opacity: 0.5; font-weight: 400; }
.bfai-footer-tagline { font-size: 14px; opacity: 0.7; line-height: 1.6; margin: 0; }
.bfai-footer-links { display: flex; flex-direction: column; gap: 25px; }
.bfai-footer-column { min-width: 0; }
.bfai-footer-column-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    opacity: 0.5;
}
.bfai-footer-column-list { list-style: none; margin: 0; padding: 0; }
.bfai-footer-column-item { margin-bottom: 10px; }
.bfai-footer-column-link { color: white; text-decoration: none; font-size: 14px; opacity: 0.8; }
.bfai-footer-column-link:hover { opacity: 1; }
.bfai-footer-ecosystem {
    padding: 24px 20px;
    background: rgba(255,255,255,0.03);
}
.bfai-footer-ecosystem-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    margin-bottom: 16px;
    font-weight: 600;
}
.bfai-footer-ecosystem-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.bfai-footer-ecosystem-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.7;
    padding: 12px 8px;
    border-radius: 6px;
    transition: background 0.2s, opacity 0.2s;
}
.bfai-footer-ecosystem-link:hover {
    opacity: 1;
    background: rgba(255,255,255,0.08);
}
.bfai-footer-ecosystem-link.current {
    opacity: 1;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
}
.bfai-footer-legal {
    padding: 20px;
    background: rgba(0,0,0,0.3);
}
.bfai-footer-disclaimer {
    font-size: 11px;
    opacity: 0.6;
    line-height: 1.5;
    margin-bottom: 15px;
}
.bfai-footer-disclaimer strong { opacity: 0.9; }
.bfai-footer-legal-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bfai-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.bfai-footer-legal-link {
    color: white;
    text-decoration: none;
    font-size: 11px;
    opacity: 0.5;
}
.bfai-footer-legal-link:hover { opacity: 0.8; }
.bfai-footer-copyright {
    font-size: 11px;
    opacity: 0.4;
    margin: 0;
}
@media (min-width: 768px) {
    .bfai-footer-links { flex-direction: row; gap: 40px; }
    .bfai-footer-ecosystem-links { grid-template-columns: repeat(3, 1fr); }
    .bfai-footer-legal-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1024px) {
    .bfai-footer-site { padding: 40px 40px 30px; }
    .bfai-footer-site-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        max-width: 1200px;
        margin: 0 auto;
    }
    .bfai-footer-brand { max-width: 350px; }
    .bfai-footer-logo { font-size: 24px; }
    .bfai-footer-links { gap: 50px; }
    .bfai-footer-column { min-width: 140px; }
    .bfai-footer-ecosystem { padding: 25px 40px; }
    .bfai-footer-ecosystem-inner { max-width: 1200px; margin: 0 auto; }
    .bfai-footer-ecosystem-links {
        grid-template-columns: repeat(7, auto);
        justify-content: start;
        gap: 12px;
    }
    .bfai-footer-ecosystem-link { font-size: 13px; padding: 8px 16px; }
    .bfai-footer-legal { padding: 20px 40px; }
    .bfai-footer-legal-inner { max-width: 1200px; margin: 0 auto; }
}
