/* Naghshyar Custom Styles - Professional & Sophisticated Design */
:root {
    /* Brand Colors from Logo */
    --primary-blue: #2E4B82;
    --secondary-blue: #4A6BA3;
    --accent-orange: #F5A623;
    --golden-yellow: #F7B733;
    
    /* Extended Palette */
    --dark-blue: #1A2D4F;
    --light-blue: #E8F0FF;
    --soft-orange: #FFF5E6;
    --white: #FFFFFF;
    --dark-gray: #2C3E50;
    --light-gray: #F8F9FA;
    --light-bg: #F8F9FA;
    --border-color: #E0E6ED;

    /* Landing page — unified surfaces (white + one subtle alternate) */
    --landing-bg: #FFFFFF;
    --landing-bg-muted: #F6F8FB;
    --landing-border: #E8EDF3;
    
    /* Typography */
    --font-primary: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(46, 75, 130, 0.1);
    --shadow-md: 0 4px 12px rgba(46, 75, 130, 0.15);
    --shadow-lg: 0 8px 24px rgba(46, 75, 130, 0.2);
    --shadow-xl: 0 16px 48px rgba(46, 75, 130, 0.25);
}

/* Global Styles */
:root {
    --navbar-height: 93px;
    --site-top-banner-gap: 0;
}

html {
    scroll-padding-top: var(--navbar-height);
}

body {
    font-family: var(--font-primary);
    background-color: var(--landing-bg);
    color: var(--dark-gray);
    line-height: 1.7;
    font-weight: var(--font-weight-normal);
}

.main-offset {
    padding-top: var(--navbar-height);
}

/* Banner present: same offset as navbar only (flush under fixed nav, no extra gap) */
.main-offset:has(.site-top-banner) {
    padding-top: var(--navbar-height);
}

/* Homepage announcement banner — sticky below fixed navbar while scrolling */
.site-top-banner {
    background: linear-gradient(90deg, rgba(255, 201, 92, 1) 0%, rgba(251, 212, 106, 1) 100%);
    color: rgba(26, 45, 79, 1);
    margin-top: 0;
    margin-bottom: 0;
    min-height: 47px;
    padding: 1rem 1.25rem;
    text-align: center;
    border-style: solid;
    border-width: 3px;
    border-color: rgba(45, 58, 235, 1);
    border-image: none;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    position: sticky;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020;
}

.site-top-banner .container {
    max-width: 100%;
}

.site-top-banner__text,
.site-top-banner__link {
    color: rgba(26, 45, 79, 1);
    font-weight: var(--font-weight-medium);
    font-size: 1.125rem;
    line-height: 1.65;
    margin: 0;
}

@keyframes site-top-banner-siren {
    0%, 100% {
        color: #b91c1c;
        transform: scale(1);
        text-shadow: 0 0 0 transparent;
    }
    50% {
        color: #ffffff;
        transform: scale(1.12);
        text-shadow: 0 0 12px rgba(185, 28, 28, 0.85), 0 0 20px rgba(255, 255, 255, 0.6);
    }
}

.site-top-banner__highlight {
    display: inline-block;
    font-weight: var(--font-weight-bold);
    font-size: 1.2em;
    line-height: 1.3;
    padding: 0 0.2em;
    vertical-align: baseline;
    animation: site-top-banner-siren 1.1s ease-in-out infinite;
    will-change: transform, color;
}

@media (prefers-reduced-motion: reduce) {
    .site-top-banner__highlight {
        animation: none;
        color: #b91c1c;
        font-weight: var(--font-weight-bold);
    }
}

.site-top-banner__link {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.site-top-banner__link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
    opacity: 0.95;
}

.flash-container {
    margin-top: var(--navbar-height);
}

.credit-pill-link {
    display: inline-flex !important;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 0.35rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff !important;
    border-radius: 25px;
    padding: 6px 12px !important;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.credit-pill-link:hover,
.credit-pill-link:focus-visible {
    color: #fff !important;
    filter: brightness(0.97);
}

.focus-ring:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

input, textarea, select, button, .btn, .form-control {
    font-family: var(--font-primary);
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    color: var(--dark-blue);
    margin-bottom: var(--spacing-md);
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue) !important;
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    margin-left: var(--spacing-sm);
    filter: drop-shadow(var(--shadow-sm));
    object-fit: contain;
}

.logo-large {
    height: 180px;
    width: auto;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    object-fit: contain;
    max-width: 400px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Navigation Styling */
.navbar {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-sm) 0;
    z-index: 1030;
    box-sizing: border-box;
}

.navbar .container {
    align-items: center;
}

.navbar-nav.navbar-nav--actions {
    flex-wrap: nowrap;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-xs) var(--spacing-md) !important;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    margin: 0 var(--spacing-xs);
}

.navbar-nav .nav-link:hover {
    background-color: var(--soft-orange);
    color: var(--dark-blue) !important;
    transform: translateY(-2px);
}

/* Landing page — alternating bands (assigned via landing_stripe_class in index.html) */
.landing-section,
.landing-section--white {
    background-color: var(--landing-bg);
}

.landing-section--muted {
    background-color: rgba(139, 183, 254, 1);
}

.landing-section--subtle,
.landing-section--blue-tint,
.landing-section--warm,
.landing-section--faq,
.landing-section--about,
.landing-section--contact {
    background-color: var(--landing-bg-muted);
}

#pricing.landing-section--pricing:not(.landing-section--muted),
#contact.landing-section:not(.landing-section--muted) {
    background-color: var(--landing-bg);
    color: inherit;
}

#pricing .section-title h2,
#pricing .section-title .lead {
    color: var(--dark-blue);
}

#pricing .section-title .lead {
    color: var(--dark-gray);
    opacity: 1;
}

.landing-pricing-step {
    background: var(--landing-bg);
    border: 1px solid var(--landing-border);
    color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
}

.landing-pricing-step h5 {
    color: var(--dark-blue);
}

.landing-pricing-step .landing-pricing-step__icon {
    color: var(--primary-blue);
}

/* FAQ on landing */
.home-faq-item .accordion-button {
    background: var(--landing-bg);
    border-radius: var(--border-radius-md);
    color: var(--dark-blue);
}

.home-faq-item .accordion-button:not(.collapsed) {
    background: var(--landing-bg-muted);
    color: var(--dark-blue);
    box-shadow: none;
}

.home-faq-item .accordion-body {
    background: var(--landing-bg);
}

/* Software purchase section — product visual card */
#purchase-software .software-purchase-visual {
    width: min(100%, 400px);
    height: 300px;
    border-radius: var(--border-radius-xl);
    background: linear-gradient(
        152deg,
        var(--dark-blue) 0%,
        var(--primary-blue) 48%,
        var(--secondary-blue) 100%
    );
    box-shadow:
        0 16px 48px rgba(26, 45, 79, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    position: relative;
    overflow: hidden;
}

#purchase-software .software-purchase-visual::before {
    content: '';
    position: absolute;
    top: -25%;
    inset-inline-end: -15%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(247, 183, 51, 0.28) 0%, transparent 68%);
    pointer-events: none;
}

#purchase-software .software-purchase-visual::after {
    content: '';
    position: absolute;
    bottom: -20%;
    inset-inline-start: -10%;
    width: 50%;
    height: 55%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

#purchase-software .software-purchase-visual__content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
}

#purchase-software .software-purchase-visual__icon {
    font-size: 4rem;
    color: var(--golden-yellow);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

#purchase-software .software-purchase-visual__edition {
    opacity: 0.85;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-top: 0.35rem;
}

@media (max-width: 768px) {
    #purchase-software .software-purchase-visual {
        height: 240px;
    }

    #purchase-software .software-purchase-visual__icon {
        font-size: 3rem;
    }
}

/* Hero Section — height follows content; avoid 100vh (large empty gap on desktop vs short content) */
.hero-section {
    background: linear-gradient(
        180deg,
        rgba(139, 183, 254, 1) 0%,
        rgba(246, 248, 251, 0.5) 100%
    );
    color: var(--dark-gray);
    padding: 80px 0 clamp(2.5rem, 5vw, 4rem) 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    z-index: 0;
    margin-bottom: 0;
}

/* Homepage hero — sit higher, flush with banner and services */
#home.hero-section {
    padding-top: 32px;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Hero flush under top banner (no gap between banner and hero) */
.site-top-banner + #home.hero-section {
    padding-top: 32px;
    margin-top: 0;
}

#home.hero-section + #services.landing-section {
    padding-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 10%, rgba(46, 75, 130, 0.04) 0%, transparent 55%);
    opacity: 1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--dark-blue);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-lg);
    font-size: 2.8rem;
}

.hero-section .lead {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xl);
    font-weight: var(--font-weight-normal);
}

.hero-section .comparison-info,
.hero-section .comparison-title,
.hero-section .comparison-description {
    color: var(--dark-gray);
}

.hero-section .comparison-title {
    font-weight: var(--font-weight-bold);
}

.hero-section .comparison-description {
    font-weight: var(--font-weight-normal);
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-xs);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--golden-yellow) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--golden-yellow) 0%, var(--accent-orange) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Section Styling */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

section[id] {
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    color: var(--dark-blue);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--golden-yellow));
    margin: var(--spacing-md) auto 0;
    border-radius: var(--border-radius-sm);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.service-card h4 {
    color: var(--dark-blue);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--landing-bg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange), var(--golden-yellow));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    color: var(--white);
    font-size: 1.5rem;
}

/* Stats Section — stripe controls background; borders separate bands */
.stats-section {
    color: var(--dark-gray);
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
}

.stats-section.landing-section--muted {
    border-top-color: rgba(46, 75, 130, 0.12);
    border-bottom-color: rgba(46, 75, 130, 0.12);
}

.stats-section p {
    color: var(--dark-gray);
    opacity: 0.85;
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-md);
    object-fit: contain;
    /* Remove invert filter since your logo already has the right colors */
}

/* Enamad (نماد اعتماد الکترونیکی) trust seal */
.enamad-seal {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s ease;
}
.enamad-seal:hover {
    opacity: 0.9;
}
.enamad-seal img {
    vertical-align: middle;
    height: auto;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(46, 75, 130, 0.25);
}

/* Admin Panel Enhancements */
.admin-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.admin-card .card-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: var(--font-weight-bold);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    html {
        scroll-padding-top: var(--navbar-height);
    }
    
    section[id] {
        scroll-margin-top: var(--navbar-height);
    }
    
    .hero-section {
        padding: 60px 0 var(--spacing-xl) 0;
    }

    #home.hero-section {
        padding-top: 32px;
        padding-bottom: 0;
    }

    #home.hero-section + #services.landing-section {
        padding-top: 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo-large {
        height: 120px;
        margin-top: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }
    
    .service-card, .feature-card {
        margin-bottom: var(--spacing-lg);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Special Effects */
.gradient-text {
    background-image: linear-gradient(135deg, rgba(46, 75, 130, 1) 0%, rgba(46, 75, 130, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Before/After Comparison Slider Styles */
.comparison-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.comparison-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.comparison-slide.active {
    display: block;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    cursor: grab;
    user-select: none;
}

.before-after-slider:active {
    cursor: grabbing;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    transition: clip-path 0.1s ease;
}

.image-label {
    position: absolute;
    bottom: 15px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    backdrop-filter: blur(10px);
    z-index: 3;
}

.before-label {
    left: 15px;
}

.after-label {
    right: 15px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange), var(--golden-yellow));
    cursor: ew-resize;
    z-index: 4;
    transform: translateX(-50%);
}

.slider-line {
    width: 100%;
    height: 100%;
    background: inherit;
}

.slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: white;
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.slider-circle i {
    color: var(--accent-orange);
    font-size: 1rem;
}

.slider-handle:hover .slider-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.comparison-info {
    text-align: center;
    margin-top: var(--spacing-md);
    color: white;
}

.comparison-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    font-weight: var(--font-weight-bold);
}

.comparison-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.comparison-controls {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.comparison-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 0 10px;
    pointer-events: none;
    z-index: 5;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    font-size: 16px;
}

.nav-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    color: var(--accent-orange);
}

.nav-btn:active {
    transform: scale(0.95);
}

.comparison-dots {
    display: inline-flex;
    gap: var(--spacing-xs);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: var(--accent-orange);
    border-color: white;
    transform: scale(1.2);
}

.placeholder-comparison {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.placeholder-content {
    text-align: center;
}

.hero-content {
    text-align: center;
    margin-top: -40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-content .btn {
    width: 280px;
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsiveness for Comparison Slider */
@media (max-width: 768px) {
    .before-after-slider {
        height: 300px;
    }

    .placeholder-comparison {
        height: 300px;
    }
    
    .hero-content {
        text-align: center;
        margin-top: -20px;
    }
    
    .hero-content .btn {
        width: 250px;
        margin-bottom: var(--spacing-sm);
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content .btn {
        width: 260px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .comparison-info {
        margin-top: var(--spacing-sm);
    }
    
    .comparison-title {
        font-size: 1.1rem;
    }
    
    .image-label {
        font-size: 0.8rem;
        padding: 6px 12px;
        bottom: 10px;
    }
    
    .before-label {
        left: 10px;
    }
    
    .after-label {
        right: 10px;
    }
    
    .slider-circle {
        width: 35px;
        height: 35px;
    }
    
    .slider-circle i {
        font-size: 0.9rem;
    }
    
    /* Mobile navigation arrows */
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .service-comparison-nav .nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .service-detail-comparison-nav .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .comparison-nav {
        padding: 0 5px;
    }
    
    .service-comparison-nav {
        padding: 0 5px;
    }
    
    .service-detail-comparison-nav {
        padding: 0 10px;
    }
}

/* Service Comparison Sliders */
.service-comparison-container {
    margin-bottom: var(--spacing-lg);
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 200px;
}

.service-comparison-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none;
}

.service-comparison-nav .nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: var(--primary-blue);
    font-size: 14px;
}

.service-comparison-nav .nav-btn:hover {
    background: white;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
    color: var(--accent-orange);
}

.service-comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-comparison-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-comparison-slide .before-after-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    cursor: pointer;
}

.service-comparison-slide .image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-comparison-slide .before-image,
.service-comparison-slide .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.service-comparison-slide .after-image {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.3s ease;
}

.service-comparison-slide .divider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 3;
}

.service-comparison-slide .drag-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    cursor: ew-resize;
    transition: left 0.3s ease;
}

.service-comparison-slide .handle-circle {
    width: 30px;
    height: 30px;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 0.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-comparison-slide .handle-circle:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.service-comparison-slide .comparison-labels {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 2;
    /* Keep labels aligned with slider halves (left = نقش یار, right = فوتوشاپ) on RTL pages */
    direction: ltr;
}

.service-comparison-slide .before-label,
.service-comparison-slide .after-label {
    color: white;
    padding: 4px 8px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.service-comparison-slide .before-label {
    background: rgba(46, 75, 130, 0.9);
}

.service-comparison-slide .after-label {
    background: rgba(0, 0, 0, 0.7);
}

/* Service Comparison Navigation Dots */
.service-comparison-dots {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.service-comparison-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-comparison-dots .dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.service-comparison-dots .dot:hover {
    background: var(--secondary-blue);
}

/* Responsive adjustments for service comparisons */
@media (max-width: 768px) {
    .service-comparison-container {
        height: 150px;
    }
    
    .service-comparison-slide .handle-circle {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .service-comparison-slide .before-label,
    .service-comparison-slide .after-label {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

/* Service card adjustments */
.service-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Service Detail Comparison Slider Styles */
.service-detail-comparison-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-comparison-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 15;
    pointer-events: none;
}

.service-detail-comparison-nav .nav-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    font-size: 18px;
}

.service-detail-comparison-nav .nav-btn:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.15);
    color: var(--accent-orange);
}

.service-detail-comparison-slide {
    display: none;
}

.service-detail-comparison-slide.active {
    display: block;
}

.service-detail-comparison-slide .before-after-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

.service-detail-comparison-slide .before-image,
.service-detail-comparison-slide .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-detail-comparison-slide .before-image img,
.service-detail-comparison-slide .after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

.service-detail-comparison-slide .after-image {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.3s ease;
}

.service-detail-comparison-slide .image-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.service-detail-comparison-slide .before-label {
    left: 20px;
    background: rgba(255, 87, 87, 0.9);
}

.service-detail-comparison-slide .after-label {
    right: 20px;
    background: var(--primary-gradient);
}

.service-detail-comparison-slide .slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.service-detail-comparison-slide .slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.service-detail-comparison-slide .slider-handle:hover .slider-circle {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.service-detail-comparison-controls {
    margin-top: 30px;
}

.service-detail-comparison-controls .comparison-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.service-detail-comparison-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-detail-comparison-controls .dot.active {
    background: var(--primary);
    transform: scale(1.3);
    border-color: var(--primary);
}

.service-detail-comparison-controls .dot:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.service-detail-comparison-slide .comparison-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 15px;
}

.service-detail-comparison-slide .comparison-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile responsive adjustments for service detail comparison */
@media (max-width: 768px) {
    .service-detail-comparison-slide .before-after-slider {
        height: 300px;
        border-radius: 10px;
    }
    
    .service-detail-comparison-slide .before-image img,
    .service-detail-comparison-slide .after-image img {
        border-radius: 10px;
    }
    
    .service-detail-comparison-slide .image-label {
        bottom: 15px;
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .service-detail-comparison-slide .before-label {
        left: 15px;
    }
    
    .service-detail-comparison-slide .after-label {
        right: 15px;
    }
    
    .service-detail-comparison-slide .slider-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-detail-comparison-slide .before-after-slider {
        height: 250px;
        border-radius: 8px;
    }
    
    .service-detail-comparison-slide .before-image img,
    .service-detail-comparison-slide .after-image img {
        border-radius: 8px;
    }
    
    .service-detail-comparison-slide .comparison-title {
        font-size: 1.3rem;
    }
    
    .service-detail-comparison-slide .comparison-description {
        font-size: 14px;
    }
}

/* Customer Logos Section */
.customer-logo-container {
    background: white;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.customer-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.customer-logo {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: none;
    opacity: 1;
}

.customer-logo-container:hover .customer-logo {
    transform: scale(1.05);
}

.customer-placeholder {
    width: 120px;
    height: 60px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #dee2e6;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.customer-logo-container:hover .customer-placeholder {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-color: var(--primary-blue);
}

.customer-logo-container:hover .customer-placeholder .text-muted {
    color: white !important;
}

.customer-name {
    opacity: 1;
}

.customer-name .text-muted {
    color: var(--dark-gray) !important;
}

/* Customers infinite marquee (two rows, left → right) */
.customers-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.customers-marquee__row {
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.customers-marquee__row:last-child {
    margin-bottom: 0;
}

.customers-marquee__track {
    display: flex;
    width: max-content;
    animation: customers-marquee-ltr 90s linear infinite;
    will-change: transform;
}

.customers-marquee__track--alt {
    animation-duration: 120s;
    animation-delay: -5.5s;
}

.customers-marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: stretch;
    gap: 1rem;
    padding-inline-end: 1rem;
}

.customer-marquee-item {
    flex: 0 0 auto;
    width: 150px;
}

.customer-marquee-item .customer-logo-container {
    width: 100%;
}

@keyframes customers-marquee-ltr {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.customers-marquee:hover .customers-marquee__track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .customers-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .customers-marquee__group[aria-hidden="true"] {
        display: none;
    }

    .customers-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Mobile responsive for customers */
@media (max-width: 768px) {
    .customer-logo-container {
        height: 100px;
    }

    .customer-marquee-item {
        width: 140px;
    }
    
    .customer-logo {
        max-height: 50px;
        max-width: 100px;
    }
    
    .customer-placeholder {
        width: 100px;
        height: 50px;
    }
    
    .customer-name {
        font-size: 0.8rem;
    }
}

/* Tablet responsive for customers */
@media (min-width: 769px) and (max-width: 1024px) {
    .customer-logo-container {
        height: 110px;
    }
    
    .customer-logo {
        max-height: 55px;
        max-width: 110px;
    }
    
    .customer-placeholder {
        width: 110px;
        height: 55px;
    }
}

/* About Us Section Styles */
.about-image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.about-image:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.about-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: var(--border-radius-xl);
    opacity: 0.1;
    z-index: -1;
}

@media (max-width: 768px) {
    .about-image-container {
        margin-bottom: var(--spacing-lg);
    }
    
    .about-image {
        border-radius: var(--border-radius-md);
    }
    
    .about-image-container::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
    }
}

/* Pricing Section Styles */
#pricing {
    position: relative;
    overflow: hidden;
}

#pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 166, 35, 0.12) 0%, transparent 50%);
    z-index: 1;
}

#pricing .container {
    position: relative;
    z-index: 2;
}

.pricing-card {
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.pricing-card .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(46, 75, 130, 0.25) !important;
}

.pricing-content {
    position: relative;
    z-index: 2;
}

.pricing-amount {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.pricing-amount::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    border-radius: 2px;
}

.pricing-amount .display-1 {
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(46, 75, 130, 0.1);
    position: relative;
}

.pricing-currency {
    line-height: 1.2;
}

.pricing-features {
    margin: var(--spacing-xl) 0;
}

.pricing-features .d-flex {
    padding: var(--spacing-sm) 0;
    transition: all 0.2s ease;
}

.pricing-features .d-flex:hover {
    background-color: rgba(46, 75, 130, 0.05);
    border-radius: var(--border-radius-md);
    padding-left: var(--spacing-sm);
    margin-left: -var(--spacing-sm);
    margin-right: -var(--spacing-sm);
}

.pricing-cta .btn {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: var(--border-radius-lg);
}

.pricing-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4);
}

.pricing-note {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pricing-card:hover .pricing-note {
    opacity: 1;
}

/* Pricing Section Animation */
@keyframes priceHighlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pricing-amount .display-1:hover {
    animation: priceHighlight 0.6s ease-in-out;
}

/* Mobile Responsiveness for Pricing */
@media (max-width: 768px) {
    #pricing .pricing-amount .display-1 {
        font-size: 3.5rem !important;
    }
    
    .pricing-card {
        margin: 0 var(--spacing-sm);
    }
    
    .pricing-features .d-flex {
        font-size: 0.95rem;
    }
    
    #pricing .section-title h2 {
        font-size: 2rem;
    }
    
    #pricing .section-title .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #pricing .pricing-amount .display-1 {
        font-size: 3rem !important;
    }
    
    .pricing-card {
        padding: var(--spacing-lg) !important;
    }
    
    .pricing-cta .btn {
        font-size: 1rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* CRM SMS chat (per-lead thread) */
.crm-chat-panel {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    max-height: 72vh;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.crm-chat-toolbar {
    flex-shrink: 0;
}

.crm-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: linear-gradient(180deg, var(--light-gray) 0%, #fff 120px);
}

.crm-chat-bubble {
    max-width: 85%;
    padding: 0.65rem 0.9rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}

.crm-chat-bubble--in {
    align-self: flex-end;
    background: var(--light-blue);
    border: 1px solid #c5d9f5;
    border-bottom-right-radius: 0.25rem;
}

.crm-chat-bubble--out {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 0.25rem;
}

.crm-chat-bubble--failed {
    border-color: #dc3545;
    background: #fff5f5;
}

.crm-chat-bubble__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    color: var(--dark-gray);
    opacity: 0.85;
}

.crm-chat-bubble__who {
    font-weight: var(--font-weight-medium);
}

.crm-chat-bubble__body {
    white-space: pre-wrap;
}

.crm-chat-bubble__error {
    margin-top: 0.35rem;
    color: #b02a37;
}

.crm-chat-compose {
    flex-shrink: 0;
}

.crm-chat-new-banner {
    display: none;
    padding: 0.5rem 1rem;
    background: var(--accent-orange);
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.crm-chat-new-banner.is-visible {
    display: block;
}

.crm-chat-new-banner:hover {
    filter: brightness(1.05);
}