:root {
    --primary-dark: #0A1930;     /* Dark navy for buttons and text */
    --brand-blue: #0A58CA;       /* Bright blue from screenshot */
    --text-secondary: #6C757D;
    --text-light: #d3d4d4;
    --border-color: #E9ECEF;
}
.text-light {
    color: var(--text-light) !important;
}

/* Exact Button Styles */
.btn-crypto {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px; /* Slightly rounded per design */
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.btn-crypto:hover {
    background-color: var(--brand-blue);
    color: #fff;
}

.btn-crypto-outline {
    background-color: #fff;
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.btn-crypto-outline:hover {
    border-color: var(--primary-dark);
}

/* Circular Hamburger Icon */
.custom-circle-toggler {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}
.custom-circle-toggler .toggler-line {
    width: 18px;
    height: 2px;
    background-color: var(--primary-dark);
    transition: all 0.3s ease;
}
/* --- BYLUX SECTIONS & CARDS --- */
.bylux-section {
    padding: 40px 0;
    background-color: #FAFBFC; /* Faint off-white background matching the image */
}

.bylux-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(10, 88, 202, 0.08); 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.bylux-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    /* Uses your brand blue and fades to a lighter crypto blue */
    background: linear-gradient(90deg, var(--brand-blue), #00A3FF); 
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

/* Base typography for cards */
.bylux-card .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 20px 0 15px;
}

.bylux-card .card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solutions Card Specifics (To handle the bottom arrow) */
.solution-card {
    padding: 40px 20px; /* Slightly less side padding for the 6-col grid */
}

.card-arrow {
    color: var(--brand-blue);
    margin-top: 25px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* --- THE LIQUID GLASS EFFECT --- */

/* 1. The Liquid Icon Wrapper */
.liquid-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(10, 88, 202, 0.08); 
    border: 1px solid rgba(10, 88, 202, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 2;
    transition: all 0.4s ease;
}
.bylux-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 88, 202, 0.12); 
    border-color: rgba(10, 88, 202, 0.2);
}
.bylux-card:hover::after {
    opacity: 1;
}
.bylux-card:hover .liquid-icon-wrapper {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: scale(1.05);
}
.bylux-card:hover .liquid-icon-wrapper img {
    filter: brightness(0) invert(.5);
    transition: filter 0.3s ease;
    -webkit-filter: brightness(0) invert(.5);
}
/* 2. The Glass Sweep Animation */
.bylux-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
    z-index: 1;
    pointer-events: none;
}

/* Hover States */
.bylux-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 88, 202, 0.08);
    border-color: rgba(10, 88, 202, 0.1);
}

.bylux-card:hover::before {
    left: 200%; /* Sweeps the glass reflection across the card */
}

.bylux-card:hover .liquid-icon-wrapper {
    /* Morphs the circle into a slightly liquid shape and brightens it */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; 
    background: rgba(10, 88, 202, 0.08);
    transform: scale(1.05);
}

.bylux-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(5px);
}
/* --- LIQUID GLASS BACKGROUND EFFECTS --- */
.liquid-dark-section {
    background-color: var(--primary-dark, #0A1930);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.liquid-dark-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 48, 0.5); /* Semi-transparent dark navy */
    backdrop-filter: blur(25px); /* Creates the heavy glass effect */
    -webkit-backdrop-filter: blur(25px);
    z-index: 1; /* Sits ABOVE the orbs, but BELOW the text */
}

.liquid-dark-section.variant-2 {
    padding: 120px 0;
}

.text-light-blue {
    color: #8A9BB3; /* Muted blue-grey for dark background text */
}

/* The Animated Orbs */
.liquid-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Slightly reduced orb blur since the glass adds blur */
    opacity: 0.6;
    z-index: 0;
    animation: orbDrift 15s infinite alternate ease-in-out;
}

/* Orb Positions and Colors (Mixing your brand blue with a lighter cyan) */
.orb-1 {
    width: 600px; height: 600px;
    background: var(--brand-blue);
    top: -300px; left: -100px;
}
.orb-2 {
    width: 500px; height: 500px;
    background: #00D2FF; /* Cyan variation */
    bottom: -200px; right: -100px;
    animation-delay: -5s;
}
.orb-3 {
    width: 700px; height: 700px;
    background: var(--brand-blue);
    top: 20%; right: -200px;
    animation-duration: 20s;
}
.orb-4 {
    width: 500px; height: 500px;
    background: rgba(10, 88, 202, 0.8);
    bottom: -100px; left: -150px;
    animation-delay: -7s;
}
.orb-1 { animation-duration: 10s; }
.orb-2 { animation-duration: 8s;  animation-delay: -3s; }
.orb-3 { animation-duration: 12s; animation-delay: -5s; }
.orb-4 { animation-duration: 9s;  animation-delay: -2s; }
@keyframes orbDrift {
    0% { 
        transform: translate(0, 0) scale(1) rotate(0deg); 
    }
    33% {
        transform: translate(150px, -100px) scale(1.2) rotate(45deg); 
    }
    66% {
        transform: translate(-100px, 150px) scale(0.8) rotate(90deg); 
    }
    100% { 
        transform: translate(50px, -50px) scale(1.1) rotate(135deg); 
    }
}

/* Glowing Icon Wrappers */
.glow-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.15) 0%, rgba(255,255,255,0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.glow-icon-wrapper img {
    filter: brightness(0) invert(1) drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.6));
    transition: filter 0.3s ease;
}

.liquid-dark-section .tech-feature-item img {
    filter: brightness(0) invert(1);
}

/* --- PROVEN PROCESS TIMELINE --- */
.process-timeline-container {
    position: relative;
    padding-top: 20px;
}

.process-line {
    position: absolute;
    top: 50px; /* Aligns with the center of the 80px icons */
    left: 10%;
    right: 10%;
    height: 2px;
    border-bottom: 2px dashed rgba(10, 88, 202, 0.3); /* Brand blue dashed */
    z-index: 1;
}

.process-step {
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2; /* Sits above the dashed line */
    transition: all 0.4s ease;
}

.process-step:hover .process-icon {
    border-color: var(--brand-blue);
    box-shadow: 0 15px 35px rgba(10, 88, 202, 0.15);
}

/* --- MOBILE RESPONSIVE TWEAKS --- */
@media (max-width: 991px) {
    .process-line {
        display: none; /* Hide the horizontal line on stacked mobile view */
    }
    .border-start.border-secondary {
        border-left: none !important; /* Remove the vertical line on tech section mobile */
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 2rem;
    }
}

/* --- PARTNERS SECTION --- */
.partner-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(10, 88, 202, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-icon-wrapper {
    transform: translateY(-3px) scale(1.05);
    background: rgba(10, 88, 202, 0.08);
}

.font-medium {
    font-weight: 600;
}

@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid var(--border-color);
    }
}

/* --- GLOBAL FOOTPRINT MAP --- */
.map-container {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.02);
}

.map-image {
    mix-blend-mode: multiply; /* Helps the map blend seamlessly into the light gray background */
    opacity: 0.9;
}

/* --- CTA SECTION --- */
.cta-card {
    background-color: var(--primary-dark);
    box-shadow: 0 20px 50px rgba(10, 25, 48, 0.15);
}

.cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.4) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    z-index: 0;
    filter: blur(50px);
}

.cta-lines {
    position: absolute;
    inset: 0;
    /* Optional: Export the swooping lines from the design and add them here */
    /* background-image: url('../images/cta-lines-bg.svg'); */
    background-size: cover;
    background-position: right center;
    opacity: 0.2;
    z-index: 1;
}

.btn-cta {
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

/* --- FOOTER --- */
.bylux-footer {
    background-color: #ffffff;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--brand-blue);
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: rgba(10, 88, 202, 0.1);
    transform: translateY(-2px);
}
/* --- BACK TO TOP BUTTON (Liquid Glass) --- */
.crypto-btt {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 9999;
    overflow: hidden; /* Keeps the swirling liquid inside the circle */
    
    /* Frosted Glass Core */
    background: rgba(10, 25, 48, 0.4); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    /* JavaScript Visibility State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    /* A bouncy transition for when it appears on screen */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* Toggled by your main.js when scrolling past 500px */
.crypto-btt.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 1. The Swirling Liquid Layer */
.crypto-btt::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    /* Mixing your brand blue with a lighter cyan for a liquid look */
    background: radial-gradient(circle, var(--brand-blue) 0%, #00D2FF 40%, transparent 80%);
    top: -50%;
    left: -50%;
    opacity: 0.35;
    filter: blur(8px);
    z-index: -1;
    /* The slow infinite swirl */
    animation: buttonLiquidSwirl 6s linear infinite; 
}

@keyframes buttonLiquidSwirl {
    0% { transform: rotate(0deg) translate(-10%, -10%); }
    50% { transform: rotate(180deg) translate(10%, 10%); }
    100% { transform: rotate(360deg) translate(-10%, -10%); }
}

/* Ensures the SVG icon stays above the liquid */
.crypto-btt svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

/* --- HOVER EFFECTS --- */
.crypto-btt:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.25);
    border-color: rgba(0, 210, 255, 0.5);
}

/* Speeds up the swirling liquid and makes it brighter */
.crypto-btt:hover::before {
    opacity: 0.75; 
    animation-duration: 2.5s; 
}

/* Nudges the arrow up */
.crypto-btt:hover svg {
    transform: translateY(-3px); 
}
/* --- SOLUTIONS PAGE (DARK THEME) --- */

/* Base background for the whole page to blend seamlessly */
body.solutions-page {
    background-color: var(--primary-dark);
}

.sol-detail-section {
    background-color: var(--primary-dark);
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

/* The Frosted Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Blur Utility for background lighting */
.blur-50 {
    filter: blur(50px);
}
.bg-brand-blue {
    background-color: var(--brand-blue);
}
.opacity-10 {
    opacity: 0.1;
}

/* The Sticky Visual Images */
.sticky-visual-panel {
    position: -webkit-sticky;
    position: sticky;
    top: 120px; /* Sticks just below your navbar */
    height: calc(100vh - 160px); /* Makes the image fill the screen height beautifully */
    min-height: 500px;
    padding-bottom: 40px;
}

.glass-image-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* A dark gradient overlay over the image so it matches the theme */
.glass-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 48, 0.9) 0%, rgba(10, 25, 48, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.glass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    z-index: 2;
}

/* Optional: Make the hero 3D image glow */
.drop-shadow-glow {
    filter: drop-shadow(0 0 30px rgba(0, 210, 255, 0.4));
}
/* --- CONTACT PAGE STYLES --- */
.contact-page-bg {
    background-color: #F8FAFC; /* Very soft light grey/blue */
}

.max-w-600 {
    max-width: 600px;
}

/* The outer container holding both halves */
.contact-container-wrapper {
    background: #fff;
    /* Soft, large shadow to make it pop off the light background */
    box-shadow: 0 25px 50px rgba(10, 37, 64, 0.08) !important;
}

/* The Brand Blue Info Card */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #061020 100%);
    position: relative;
    overflow: hidden;
    /* Custom CSS Shape: Creates the angled bottom-right corner matching the letterhead */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.contact-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(10, 88, 202, 0.4) 0%, rgba(0,0,0,0) 70%);
    top: -50px;
    left: -50px;
    filter: blur(40px);
    z-index: 0;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-wrapper {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: scale(1.05);
}

/* Smooth Form Inputs */
.custom-input {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 14px 16px;
    border-radius: 8px;
    color: var(--primary-dark);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-input:focus {
    background-color: #FFFFFF;
    border-color: var(--brand-blue);
    /* Creates a soft glowing ring on focus instead of a harsh outline */
    box-shadow: 0 0 0 4px rgba(10, 88, 202, 0.1); 
    outline: none;
}

/* Mobile responsive reset for the custom shape */
@media (max-width: 991px) {
    .contact-info-card {
        clip-path: none; /* Removes the angle on stacked mobile view so it flows naturally */
    }
}
/* --- TECHNOLOGY PAGE: BENTO BOX GRID --- */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 24px;
}

.bento-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08);
}

/* Specific Box Sizings */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 3;
    grid-row: span 1;
}

/* Backgrounds & Glows for Bento Boxes */
.bg-primary-dark {
    background-color: var(--primary-dark);
}

.glass-panel-dark {
    background: linear-gradient(135deg, #0A1930 0%, #112A4F 100%);
    border: 1px solid rgba(10, 88, 202, 0.2);
}

.bento-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(10, 88, 202, 0.5) 0%, rgba(0,0,0,0) 70%);
    bottom: -50px;
    right: -50px;
    filter: blur(40px);
    z-index: 1;
}

/* Mobile Responsive Grid Adjustments */
@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    .bento-large {
        grid-column: span 2; /* Takes full width of the 2 columns */
        grid-row: auto;
    }
    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .bento-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
    }
}
/* --- BYBIT STYLE LIGHT THEME MARKETS --- */
.market-page-light-bg {
    background-color: #F4F6F9;
}

.bg-light-section {
    background-color: #FAFAFA;
}

.bg-light-table-header {
    background-color: #F8FAFC;
}

.extra-small {
    font-size: 0.75rem;
}

/* Card Styling */
.market-highlight-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: #E2E8F0 !important;
}

.market-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 37, 64, 0.04);
}

.highlight-card-accent {
    border-left: 4px solid var(--brand-blue) !important;
}

.bg-brand-blue-light {
    background-color: rgba(10, 88, 202, 0.08);
}

.bg-success-light {
    background-color: rgba(0, 192, 118, 0.08);
}

/* Tab Underlines */
.market-tab-btn {
    border: none;
    background: transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 0.95rem;
}

.market-tab-btn.active {
    color: var(--brand-blue) !important;
    border-bottom-color: var(--brand-blue);
}

/* High Density Clean Table Formatting */
.market-light-table tbody tr {
    border-bottom: 1px solid #EEF2F6;
    transition: background-color 0.15s ease;
}

.market-light-table tbody tr:hover {
    background-color: #F8FAFC;
}

.market-light-table thead th {
    font-weight: 600;
    font-size: 0.8rem;
    color: #64748B;
}

.btn-action-trade {
    background-color: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.btn-action-trade:hover {
    background-color: var(--brand-blue);
    color: #FFFFFF;
    border-color: var(--brand-blue);
}

/* Live Status Pulse indicator */
.live-pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00C076;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.5);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 192, 118, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 192, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 192, 118, 0); }
}

/* Premium Light Flash Animations for Prices */
@keyframes textFlashGreen {
    0% { background-color: rgba(0, 192, 118, 0.15); color: #00C076; }
    100% { background-color: transparent; }
}

@keyframes textFlashRed {
    0% { background-color: rgba(255, 74, 74, 0.15); color: #FF4A4A; }
    100% { background-color: transparent; }
}

.price-flash-up { animation: textFlashGreen 0.7s ease-out; }
.price-flash-down { animation: textFlashRed 0.7s ease-out; }

.light-text-up { color: #00C076 !important; }
.light-text-down { color: #FF4A4A !important; }

/* --- MINIMAL FLOATING CONTACT MENU (SMALL VERSION) --- */
.floating-contact-menu {
    position: fixed;
    bottom: 30px;
    left: 10px; 
    z-index: 1050;
    display: flex;
    flex-direction: column;
    /* Reduced gap and padding for a tighter, smaller pill */
    gap: 8px;
    padding: 8px;
    border-radius: 50px;

    /* Header Glassmorphism */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85),
        rgba(223, 223, 223, 0.72)
    );
    backdrop-filter: blur(20px) saturate(180%) brightness(105%);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(105%);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 8px 30px rgba(0,0,0,.10);
}

.floating-contact-menu::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0)
    );
}

/* Smaller Icon Buttons */
.floating-item {
    position: relative;
    z-index: 2;
    /* Reduced width and height from 45px to 36px */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #334155; 
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Smaller SVG icons */
.floating-item svg {
    width: 16px; /* Reduced from 20px */
    height: 16px;
}

/* Hover State */
.floating-item:hover {
    background: var(--brand-blue, #0A58CA); 
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 88, 202, 0.25);
    border-color: var(--brand-blue, #0A58CA);
}

/* Mobile Adjustment (Even smaller for phones) */
@media (max-width: 768px) {
    .floating-contact-menu {
        bottom: 20px;
        left: 10px;
        padding: 6px;
        gap: 6px;
    }
    .floating-item {
        width: 32px;
        height: 32px;
    }
    .floating-item svg {
        width: 14px;
        height: 14px;
    }
}