/* Основни стилове за Estate Assistant уебсайт */

/* Променливи за цветове */
:root {
    --color-primary: #2563eb;
    --color-secondary: #46536f;
    --color-accent: #f59e0b;
    --color-light: #f8fafc;
    --color-dark: #60646e;
}

/* Основни стилове */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;
    /* background-color: #f8fafc; */
    /* background-color: #fff; */
    /* background-color: #fafafa; */
    background-color: #f9fafc;
}

/* Стилове за хедъра */
.nav-link {
    position: relative;
    display: inline-block;
}

.nav-link button {
    position: relative;
    z-index: 1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transition: width 0.3s ease;
    transform-origin: left;
}

.nav-link:hover::after {
    width: 100%;
}

/* Стилове за навигацията */
.header-nav {
    background-color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    padding: 10px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    min-width: 1200px;
}

@media (max-width: 1200px) {
    .header-container {
        min-width: 900px;
    }
}

/* Мобилно меню стилове */
.mobile-navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 100%;
    max-width: 12rem;
    transition: max-width 0.3s ease;
}

.mobile-navbar.open {
    max-width: 20rem;
}

.mobile-navbar-container {
    border-radius: 2.5rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
    padding: 0.5rem;
    background-color: #f9fafc;  
}

.mobile-navbar-nav {
    width: 100%;
    border-radius: 2rem;
    padding: 1rem;
    background-color: white;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mobile-navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.875rem;
}

.mobile-logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-logo-text {
    font-weight: 600;
    opacity: 0;
    max-width: 0;
    transition: opacity 0.3s ease, max-width 0.1s ease;
    white-space: nowrap;
    overflow: hidden;
}

.mobile-navbar.open .mobile-logo-text {
    opacity: 1;
    max-width: 200px;
}

.mobile-menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.mobile-menu-toggle:hover {
    background-color: #f3f4f6;
}

.mobile-menu-content {
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0.4;
    pointer-events: none;
}

.mobile-navbar.open .mobile-menu-content {
    max-height: 20rem;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-links {
    height: auto;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu-links a {
    text-decoration: none;
}

.mobile-menu-links button {
    padding: 0.5rem 0;
    color: #6b7280;
    transition: color 0.2s ease;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.mobile-menu-links button:hover {
    color: #111827;
}

/* Медийни заявки за показване/скриване на менютата */
@media (max-width: 1023px) {
    .header-container {
        display: none;
    }
    
    .mobile-navbar {
        display: block;
    }
    
    /* Коригиране на отстъпи за мобилни устройства */
    .mt-50 {
        margin-top: 80px !important;
    }
}

@media (min-width: 1024px) {
    .mobile-navbar {
        display: none;
    }
}

/* .nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    margin: 0 0.5rem;
}

.nav-logo img {
    width: 45px;
    height: 75px;
    object-fit: contain;
} */

.nav-button {
    color: #6b7280;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.nav-button:hover {
    color: #111827;
}

/* Стилове за Happy Customers секцията */
.happy-customers-container {
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    margin-bottom: 0.5rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(229, 231, 235, 0.8);
    background-color: #ffffff;
    margin-top: 6rem;
}

.avatar-group {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.avatar-item {
    margin-right: -0.5rem;
    border-radius: 9999px;
    overflow: hidden;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #f8fafc;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.divider {
    width: 1px;
    height: 0.75rem;
    background-color: #e5e7eb;
}

.happy-customers-text {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Стилове за карузел контейнера */
.carousel-outer {
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 25px;
    border: 1px solid #f1f1f1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 0.5rem;
    width: 102%;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.carousel-content {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 0 2rem;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* Стилове за карусела */
.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: calc(33.333% - 1rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav {
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #3b82f6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn-prev {
    left: 1rem;
}

.carousel-btn-next {
    right: 1rem;
}

/* Стилове за секцията Cargo Status */
.cargo-status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cargo-status-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .cargo-status-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .cargo-status-left {
        flex: 1;
        padding-right: 2rem;
    }
    
    .cargo-status-right {
        flex: 1;
    }
}

.cargo-status-left h2 {
    color: #111827;
    margin-bottom: 1rem;
}

.cargo-status-left p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cargo-features-list {
    margin-top: 1.5rem;
}

.cargo-item {
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.cargo-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cargo-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.cargo-item-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cargo-item-image {
    width: 3rem;
    height: 3rem;
    border: 1px solid #F3F4F6;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cargo-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cargo-item-info {
    display: flex;
    flex-direction: column;
}

.cargo-item-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.cargo-item-id {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.25rem;
}

.cargo-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.chevron-icon {
    color: #9CA3AF;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.cargo-item-collapsed .chevron-icon {
    transform: rotate(180deg);
}

.cargo-status-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.cargo-status-sent {
    background-color: #DCFCE7;
    color: #16A34A;
}

.cargo-status-preparing {
    background-color: #FEF3C7;
    color: #D97706;
}

.cargo-item-details {
    padding: 1rem 0 0.5rem 1rem;
}

.cargo-tracking {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cargo-tracking:last-child {
    margin-bottom: 0;
}

.tracking-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tracking-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.tracking-dot-active {
    background-color: #3B82F6;
    border: 1px solid #3B82F6;
}

.tracking-dot-inactive {
    background-color: transparent;
    border: 1px solid #9CA3AF;
}

.tracking-connector {
    width: 1px;
    height: 100%;
    position: absolute;
    top: 8px;
    bottom: 0;
}

.tracking-connector-active {
    background-color: #3B82F6;
}

.tracking-connector-inactive {
    background-color: #9CA3AF;
}

.tracking-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tracking-date, .tracking-time {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
}

.tracking-location, .tracking-postal {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Стилове за секцията Stock Status */
.stock-status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.stock-status-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .stock-status-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .stock-status-left {
        flex: 1;
        padding-right: 2rem;
    }
    
    .stock-status-right {
        flex: 1;
    }
}

.stock-status-left h2 {
    color: #111827;
    margin-bottom: 1rem;
}

.stock-status-left p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stock-features-list {
    margin-top: 1.5rem;
}

.bullet-point {
    color: #4F46E5;
    font-size: 1.5rem;
    line-height: 1;
}

/* Стилове за бутоните */

.get-started-btn {
    background-color: #E91E63;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(233, 30, 99, 0.2);
}

.get-started-btn:hover {
    background-color: #D81B60;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(233, 30, 99, 0.25);
}

.get-started-btn-white {
    background-color: white;
    color: #111827;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(233, 30, 99, 0.2);
}

.get-started-btn-white:hover {
    background-color: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(255, 252, 253, 0.25);
}

.get-started-btn-dark-blue {
    background-color: #2a4071;
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(17, 24, 39, 0.2);
}

.get-started-btn-dark-blue:hover {
    background-color: #2a4071;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(17, 24, 39, 0.25);
}

.status-card {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #F3F4F6;
}

.status-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #F3F4F6;
}

.status-card-content {
    padding: 1.5rem;
}

.product-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stock-progress-bar {
    height: 0.5rem;
    width: 100%;
    background-color: #F3F4F6;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    margin-bottom: 1.5rem;
}

.progress-segment {
    height: 100%;
}

.bg-blue-500 {
    background-color: #3B82F6;
}

.bg-purple-500 {
    background-color: #8B5CF6;
}

.bg-pink-500 {
    background-color: #EC4899;
}

.bg-orange-500 {
    background-color: #F97316;
}

.bg-teal-500 {
    background-color: #14B8A6;
}

.stock-item-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stock-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.stock-item-color {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.125rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.stock-item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-item-count {
    margin-left: 1rem;
    font-weight: 500;
    color: #111827;
}

/* Стилове за 4 топ AI функции */
.top-features-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.top-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .top-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .top-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .top-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Стилове за секцията с функционалности в грид формат */
.features-grid-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.features-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: .5rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f1f1;
    min-height: 25rem;
}

.feature-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f1f1;
    min-height: 25rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon-wrapper {
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    width: 2.5rem;
    height: 2.5rem;
    rotate: 45deg;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    color: #111827;
    rotate: -45deg;
}

.feature-icon i {
    font-size: 2rem;
    color: #294071;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-link {
    display: flex;
    align-items: center;
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: auto;
}

.feature-link:hover {
    color: #2563EB;
}

.feature-link svg {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.feature-link:hover svg {
    transform: translateX(3px);
}

/* Стилове за секцията с често задавани въпроси */
.faq-section {
    overflow: hidden;
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.faq-accordion {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-radius: 2.75rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.faq-item-content {
    padding: .6rem 1.5rem;
    background-color: white;
    border-radius: 2.5rem;
    box-shadow: 0px 42px 12px 0px rgba(0,0,0,0.00), 0px 27px 11px 0px rgba(0,0,0,0.01), 0px 15px 9px 0px rgba(0,0,0,0.02), 0px 7px 7px 0px rgba(0,0,0,0.03), 0px 2px 4px 0px rgba(0,0,0,0.04);
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-title {
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    transition: opacity 0.15s;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 1.125rem;
    }
}

.faq-header:hover .faq-title {
    opacity: 0.75;
}

.faq-icon {
    color: #6B7280;
    transition: transform 0.3s ease;
}

.faq-item-active .faq-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-body-active {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-body p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

/* Стилове за декоративните линии */
.surface-line {
    position: absolute;
    height: 1px;
    background-color: #46536f;
    opacity: 0.2;
    z-index: -1;
}

/* Стилове за контактната секция */
.contact-section {
    background-color: #fafafa;
    border-top: 1px solid #f1f1f1;
}

/* Стилове за секцията с ценообразуване */
.pricing-section {
    background-color: #f9fafc;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pricing-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #4B5563;
    line-height: 1.6;
}

.pricing-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .pricing-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .pricing-features {
        flex: 1;
        padding-right: 2rem;
    }
    
    .pricing-plans {
        flex: 1;
    }
}

.pricing-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 1.5rem;
}

.pricing-features-list,
.pricing-unlimited-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-features-list li,
.pricing-unlimited-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pricing-features-list li span,
.pricing-unlimited-list li span {
    color: #4B5563;
    line-height: 1.5;
}

.pricing-table {
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pricing-table-header {
    display: flex;
    background-color: #294071;
    color: white;
    font-weight: 500;
}

.pricing-table-row {
    display: flex;
    border-bottom: 1px solid #E5E7EB;
}

.pricing-table-row:last-child {
    border-bottom: none;
}

.pricing-table-cell {
    flex: 1;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.pricing-price {
    font-weight: 600;
    color: #294071;
    font-size: 1.25rem;
}

.pricing-unlimited {
    margin-bottom: 2.5rem;
}

.pricing-portals {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
}

.pricing-portals p {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pricing-portals-price {
    font-weight: 500;
    color: #111827;
    font-size: 1.125rem;
    text-align: center;
}

.pricing-portals-price span {
    font-weight: 600;
    color: #294071;
    font-size: 1.25rem;
}

.pricing-contact {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-contact p {
    color: #4B5563;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.pricing-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #294071;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pricing-contact-button:hover {
    background-color: #1e325a;
}

/* Стилове за футъра */
.footer {
    background-color: #294071;
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer-nav-row {
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-right: 2rem;
}

.footer-logo img {
    height: 3rem;
    width: auto;
    border-radius: 8px;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    position: relative;
}

.footer-nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #3B82F6, #2563EB);
    transition: width 0.3s ease;
}

.footer-nav-link:hover::after {
    width: 100%;
}

.footer-copyright-row {
    justify-content: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-terms-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.footer-terms-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-terms-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.7);
    transition: background-color 0.2s ease;
}

.footer-terms-link:hover::after {
    background-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-nav-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .footer-nav-list {
        justify-content: center;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.customers-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.customers-badge span {
    font-size: 0.875rem;
    color: #6B7280;
}

.customer-avatars {
    display: flex;
    align-items: center;
}

.customer-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    margin-left: -0.5rem;
}

.customer-avatar:first-child {
    margin-left: 0;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.input-wrapper {
    padding: 0.5rem;
    border-radius: 9999px;
    background-color: #f9fafb;
    border: 1px solid #f1f1f1;
}

.textarea-wrapper {
    border-radius: 1.5rem;
}

.contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 9999px;
    outline: none;
    background-color: white;
    color: #111827;
    box-shadow: 0px 42px 12px 0px rgba(0,0,0,0.00), 0px 27px 11px 0px rgba(0,0,0,0.01), 0px 15px 9px 0px rgba(0,0,0,0.02), 0px 7px 7px 0px rgba(0,0,0,0.03), 0px 2px 4px 0px rgba(0,0,0,0.04);
}

.contact-input::placeholder {
    color: #9CA3AF;
}

.contact-textarea {
    border-radius: 1rem;
    resize: none;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    background-color: #294071;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: #2563EB;
}

.customers-grid {
    margin-top: 4rem;
}

.customers-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.customer-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.customer-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.customer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Back to top button стилове */
.back-to-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top-button.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-button:hover {
    background-color: #1d4ed8; /* По-тъмен син цвят при ховър */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.back-to-top-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top-button i {
    font-size: 20px;
}

/* Анимация при появяване */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.back-to-top-button.visible {
    animation: pulse 2s infinite;
}

/* Медия заявка за мобилни устройства */
@media (max-width: 768px) {
    .back-to-top-button {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top-button i {
        font-size: 16px;
    }
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.animate-pulse-border {
    animation: pulse-border 2s ease-in-out infinite;
}
