/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

/* RTL Support */
[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* RTL Text Alignment */
[dir="rtl"] .faq-question {
    text-align: right;
}

[dir="rtl"] .modal-body {
    text-align: right;
}

/* RTL Flex Direction Adjustments */
[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .trust-badges {
    flex-direction: row-reverse;
}

[dir="rtl"] .feature,
[dir="rtl"] .cta-feature {
    flex-direction: row-reverse;
}

[dir="rtl"] .category-hover {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

/* RTL Icon Rotation */
[dir="rtl"] .arrow-down {
    transform: scaleX(-1);
}

[dir="rtl"] .category-hover svg {
    transform: scaleX(-1);
}

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

/* Header */
.header {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5775e4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #21A038;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #21A038;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #21A038;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #0d5a1e;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: -100%;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        padding: 2rem 1rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        margin: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link::after {
        display: none;
    }

    /* RTL-specific mobile menu positioning */
    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }

    [dir="rtl"] .nav-menu.active {
        left: auto;
        right: 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 90, 30, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%),
                url('../img/bg3.avif') center/cover no-repeat;
}

@media (max-width: 768px) {
    .hero-section {
        background: linear-gradient(135deg, rgba(13, 90, 30, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%),
                    url('../img/mobile_bg1.avif') center/cover no-repeat;
    }
}
.background-orbs {
    display: none;
}

.orb {
    display: none;
}

.orb-1 {
    display: none;
}

.orb-2 {
    display: none;
}

.orb-3 {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 6xl;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 4xl;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.counter-section {
    margin-bottom: 2rem;
}

.counter-text {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.cta-button:hover {
    background: #21A038;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.arrow-down {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.category-title,
.category-description,
.category-badge {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 2;
    text-align: center;
}

.category-hover {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    opacity: 1;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    background: rgba(30, 58, 138, 0.65);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    margin-top: 20px;
    backdrop-filter: none;
}

.category-card:hover .category-hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.category-hover svg {
    stroke: white;
    flex-shrink: 0;
}

.category-title {
    background: rgba(13, 90, 30, 0.65);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
}

.category-description {
    background: none;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    margin: 0.5rem 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #3b82f6;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.category-card[data-category="heart-pressure"] {
    background-image: url('../img/category_bg/01_serdtse_i_davlenie.webp');
}

.category-card[data-category="joints-mobility"] {
    background-image: url('../img/category_bg/02_sustavy_i_mobilnost.webp');
}

.category-card[data-category="weight-loss-metabolism"] {
    background-image: url('../img/category_bg/03_pohudenie_i_metabolizm.webp');
}

.category-card[data-category="prostatitis"] {
    background-image: url('../img/category_bg/04_prostatit.webp');
}

.category-card[data-category="potency-libido"] {
    background-image: url('../img/category_bg/05_potentsiya_i_libido.webp');
}

.category-card[data-category="diabetes-sugar"] {
    background-image: url('../img/category_bg/06_diabet_i_sahar.webp');
}

.category-card[data-category="varicose-vessels"] {
    background-image: url('../img/category_bg/07_varikoz_i_sosudy.webp');
}

.category-card[data-category="vision-eyes"] {
    background-image: url('../img/category_bg/08_zrenie_i_glaza.webp');
}

.category-card[data-category="hemorrhoids"] {
    background-image: url('../img/category_bg/09_gemorroy.webp');
}

.category-card[data-category="womens-health"] {
    background-image: url('../img/category_bg/10_zhenskoe_zdorove.webp');
}

.category-card[data-category="psoriasis-skin"] {
    background-image: url('../img/category_bg/11_psoriaz_i_kozha.webp');
}

.category-card[data-category="nail-skin-fungus"] {
    background-image: url('../img/category_bg/12_gribok_nogtey_i_kozhi.webp');
}

.category-card[data-category="papillomas-warts"] {
    background-image: url('../img/category_bg/13_papillomy_i_borodavki.webp');
}

.category-card[data-category="parasites-cleansing"] {
    background-image: url('../img/category_bg/14_parazity_i_ochischenie.webp');
}

.category-card[data-category="hair-problems"] {
    background-image: url('../img/category_bg/15_problemy_s_volosami.webp');
}

.category-card[data-category="digestion"] {
    background-image: url('../img/category_bg/16_pischevarenie.webp');
}

.category-card[data-category="immunity-cold"] {
    background-image: url('../img/category_bg/17_immunitet_i_prostuda.webp');
}

.category-card[data-category="cholesterol"] {
    background-image: url('../img/category_bg/18_holesterin.webp');
}

.category-card[data-category="urology-kidneys"] {
    background-image: url('../img/category_bg/19_urologiya_i_pochki.webp');
}

.category-card[data-category="hearing-ears"] {
    background-image: url('../img/category_bg/20_sluh_i_ushi.webp');
}

.category-card[data-category="sleep-stress"] {
    background-image: url('../img/category_bg/21_son_i_stress.webp');
}

.category-card[data-category="quit-smoking"] {
    background-image: url('../img/category_bg/22_izbavlenie_ot_kureniya.webp');
}

.category-card[data-category="alcoholism"] {
    background-image: url('../img/category_bg/23_izbavlenie_ot_alkogolizma.webp');
}

.category-card[data-category="beauty-aging"] {
    background-image: url('../img/category_bg/15_problemy_s_volosami.webp');
}

.category-card[data-category="liver-detox"] {
    background-image: url('../img/category_bg/04_prostatit.webp');
}


.categories-coming-soon {
    text-align: center;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #64748b;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 1rem;
    border: 2px dashed #cbd5e1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #effef6, #d1fae5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid #bbf7d0;
}

.step-icon svg {
    color: #22c55e;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.step-description {
    color: #6b7280;
}

/* Technology Section */
.technology-section {
    padding: 5rem 0;
    background: white;
}

.technology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.technology-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.technology-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    color: #3b82f6;
    flex-shrink: 0;
}

.chat-mockup {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.chat-container {
    background: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 95%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.ai-message {
    background: #effef6;
    color: #0d5a1e;
    align-self: flex-end;
    margin-left: auto;
    border: 1px solid #bbf7d0;
}

.user-message {
    background: none;
    color: #ffffff;
    align-self: flex-start;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #effef6, #d1fae5);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid #bbf7d0;
}

.feature-icon svg {
    color: #22c55e;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-description {
    color: #6b7280;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-container {
    max-width: 4xl;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: none;
}

.testimonial.active {
    display: block;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.25rem;
    color: #374151;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: #6b7280;
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #22c55e;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 4xl;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

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

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

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 0;
    background: #0f172a;
    color: white;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta-feature .check-icon {
    color: #3b82f6;
}

.cta-action {
    text-align: center;
}

.cta-button-large {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    background: white;
    color: #0f172a;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.cta-button-large:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.quick-categories-text {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.quick-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-pill {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .technology-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Trust Brands Section */
.trust-brands-section {
    padding: 60px 0;
    background: #f6ffffb8;
    border-top: 1px solid #E0E0E0;
}

.trust-brands-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 800px;
    margin: 1rem auto 3rem;
    line-height: 1.6;
    font-weight: 500;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .brands-grid {
        flex-wrap: nowrap;
        justify-content: space-around;
    }
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.9;
    width: 120px;
    height: auto;
}

.brand-logo-img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* Media Mentions Section */
.media-mentions-section {
    padding: 50px 0;
    background: white;
    border-top: 1px solid #E0E0E0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.media-logo {
    width: 100%;
    max-width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.media-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.media-logo svg {
    width: 100%;
    height: 100%;
}

/* Tech Partners in Technology Section */
.tech-partners {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.tech-partners-title {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    margin-bottom: 20px;
}

.tech-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.tech-partner-logo {
    width: 100%;
    max-width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.tech-partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.tech-partner-logo svg {
    width: 100%;
    height: 100%;
}

/* Security Badges in Footer */
.security-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-badge {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-badge svg {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.security-text {
    flex: 1;
}

.security-label {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.4;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .brands-grid {
        flex-direction: column;
        align-items: center;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        display: grid;
        justify-items: center;
    }
    
    .media-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .brand-logo {
        width: 100px;
    }
    
    .tech-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-brands-section,
    .media-mentions-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-category-pills {
        flex-direction: column;
    }
    
    .category-pill {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 800px;
    max-height: 80vh;
    margin: 2rem;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.modal-body {
    padding: 2rem;
    color: #475569;
    line-height: 1.7;
}

.modal-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.modal-body h2:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body ul, .modal-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.modal-body strong {
    color: #0f172a;
    font-weight: 600;
}

/* Contact Form Styles */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-submit,
.btn-cancel {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit {
    background: #22c55e;
    color: white;
    flex: 1;
}

.btn-submit:hover {
    background: #21A038;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.btn-cancel:hover {
    background: #e2e8f0;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for counter */
@keyframes countUp {
    from { opacity: 0; }
    to { opacity: 1; }
}

#animated-counter {
    animation: countUp 0.5s ease-in-out;
}

/* ==================== CHAT DIALOG STYLES ==================== */

/* Back Button in Header */
.chat-back-button {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}

.chat-back-button:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

[dir="rtl"] .chat-back-button {
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .chat-back-button {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
}

/* Test Form Button (DEBUG) */
.chat-test-button {
    background: #fbbf24;
    border: 1px solid #f59e0b;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #78350f;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
}

.chat-test-button:hover {
    background: #f59e0b;
    border-color: #d97706;
}

@media (max-width: 768px) {
    .chat-test-button {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
    }
}

.chat-dialog-container {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 6rem 0;
}

.chat-back-button {
    position: absolute;
    top: -60px;
   left: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 100;
}

.chat-back-button:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.chat-dialog-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0.5rem;
    position: relative;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

/* Chat Message Base */
.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: fadeInUp 0.4s ease-out;
}

[dir="rtl"] .chat-message {
    flex-direction: row-reverse;
}

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

/* Message Avatar */
.message-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Message Content */
.message-content {
    max-width: 70%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Bot Message */
.bot-message .message-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Typing indicator */
.message-content.typing::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* User Message */
.user-message {
    flex-direction: row-reverse;
}

[dir="rtl"] .user-message {
    flex-direction: row;
}

.user-message .message-content {
    background: linear-gradient(135deg, #119441 0%, #21A038 100%);
    color: #ffffff;
    margin-left: auto;
}

[dir="rtl"] .user-message .message-content {
    margin-left: 0;
    margin-right: auto;
}

/* Quest styling */
.quest {
    font-weight: 600;
    color: #0d6f2e;
    display: block;
    margin-bottom: 0.5rem;
}

/* Choice Buttons */
.chat-choices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0 0 58px;
    animation: fadeIn 0.3s ease-out;
}

[dir="rtl"] .chat-choices {
    margin: 0.5rem 58px 0 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chat-choice-button {
    background: #15852e;
    border: 1px solid #0f172a;
    border-radius: 0.75rem;
    padding: 0.875rem 1.15rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    margin-right: 7%;
    font-style: normal;
    box-shadow: #0d5a1e 0 0 0.15rem 1.4px;
}

[dir="rtl"] .chat-choice-button {
    text-align: right;
}

.chat-choice-button:hover {
    background: #f0fdf4;
    border-color: #22c55e;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

[dir="rtl"] .chat-choice-button:hover {
    transform: translateX(4px);
}

.chat-choice-button:active {
    transform: scale(0.98);
}

/* Loader Message */
.loader-message .message-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.loader-text {
    font-style: italic;
    color: #0d6f2e;
}

.loader-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top-color: #22c55e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Product Card */
.product-card-message .message-content {
    max-width: 85%;
    padding: 1.5rem;
}

.product-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

[dir="rtl"] .product-card {
    flex-direction: row-reverse;
}

.product-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 0.75rem;
    background: #f9fafb;
    padding: 0.5rem;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0d5a1e;
    margin-bottom: 0.75rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.product-badge {
    background: #d1fae5;
    color: #0d6f2e;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-origin {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Discount Banner */
.discount-banner-message .message-content {
    max-width: 85%;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
}

.discount-banner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.discount-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    align-self: flex-start;
}

[dir="rtl"] .discount-badge {
    align-self: flex-end;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

[dir="rtl"] .price-info {
    flex-direction: row-reverse;
}

.old-price {
    font-size: 1.125rem;
    color: #6b7280;
    text-decoration: line-through;
}

.new-price {
    font-size: 1.875rem;
    font-weight: 800;
    color: #dc2626;
}

.timer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
}

[dir="rtl"] .timer-info {
    flex-direction: row-reverse;
}

.timer-label {
    color: #374151;
    font-weight: 600;
}

.timer-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    font-family: 'Courier New', monospace;
}

/* Order Form */
.order-form-message .message-content {
    max-width: 90%;
    padding: 2rem;
}

.chat-order-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.form-input {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.field-example {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-submit-button {
    background: linear-gradient(135deg, #22c55e 0%, #21A038 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.form-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.form-submit-button:active {
    transform: translateY(0);
}

.form-submit-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.privacy-text {
    font-size: 0.8rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-back-button {
        top: -50px;
       left: 5px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .chat-dialog-wrapper {
        padding: 0 0.5rem;
    }

    .message-content {
        max-width: 85%;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .message-avatar {
        width: 36px;
        height: 36px;
    }

    .chat-choices {
        margin-left: 46px;
    }

    [dir="rtl"] .chat-choices {
        margin-left: 0;
        margin-right: 46px;
    }

    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    [dir="rtl"] .product-card {
        flex-direction: column;
    }

    .product-image {
        width: 120px;
        height: 120px;
    }

    .product-name {
        font-size: 1.125rem;
    }

    .discount-badge {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
        align-self: center;
    }

    [dir="rtl"] .discount-badge {
        align-self: center;
    }

    .price-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    [dir="rtl"] .price-info {
        flex-direction: column;
        align-items: flex-end;
    }

    .old-price {
        font-size: 1rem;
    }

    .new-price {
        font-size: 1.5rem;
    }

    .timer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    [dir="rtl"] .timer-info {
        flex-direction: column;
        align-items: flex-end;
    }

    .order-form-message .message-content {
        max-width: 95%;
        padding: 1.5rem 1rem;
    }
}

/* Scroll Down Button - Arrow */
.scroll-down-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22c55e 0%, #21A038 100%);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideUp 0.4s ease-out, pulse 2s infinite;
}

.scroll-down-btn:hover {
    transform: translateX(-50%) translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.5);
}

.scroll-down-btn:active {
    transform: translateX(-50%) translateY(-2px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        bottom: -50px;
    }
    to {
        opacity: 1;
        bottom: 2rem;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(34, 197, 94, 0.6);
    }
}

@media (max-width: 768px) {
    .scroll-down-btn {
        bottom: 1.5rem;
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}
