/* ==========================================
   HOMEPAGE STYLES - FIVERR INSPIRED
   Merged Landing + Browse Experience
   ========================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: #0D0F10;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* ==========================================
   HERO SECTION - FIVERR STYLE
   ========================================== */

.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08));
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
    animation: heroFloat 20s ease-in-out infinite;
}

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

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeSlideUp 0.8s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #3B82F6;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3B82F6;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeSlideUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #A9ADB1;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: fadeSlideUp 0.8s ease-out 0.4s backwards;
}

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

/* Search Bar - Fiverr Style */
.hero-search {
    position: relative;
    max-width: 600px;
    animation: fadeSlideUp 0.8s ease-out 0.6s backwards;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    width: 24px;
    height: 24px;
    color: #6B7280;
    pointer-events: none;
}

[dir="rtl"] .search-icon {
    left: auto;
    right: 1.25rem;
}

.search-input {
    flex: 1;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: none;
    font-size: 1rem;
    color: #1F2937;
    font-family: inherit;
}

[dir="rtl"] .search-input {
    padding: 1.25rem 3.5rem 1.25rem 1.25rem;
}

.search-input:focus {
    outline: none;
}

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

.search-btn {
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.search-btn:hover {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
}

/* Popular Searches */
.popular-searches {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.popular-label {
    font-size: 0.95rem;
    color: #6B7280;
    font-weight: 500;
}

.popular-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3B82F6;
    transform: translateY(-2px);
}

/* Trusted By Section */
.trusted-by {
    margin-top: 3rem;
    animation: fadeSlideUp 0.8s ease-out 0.8s backwards;
}

.trusted-label {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 1rem;
    font-weight: 500;
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trusted-logo {
    height: 32px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

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

/* ==========================================
   CATEGORIES SECTION - FIVERR STYLE
   ========================================== */

.categories-section {
    padding: 80px 0;
    background: #0D0F10;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1.1rem;
    color: #A9ADB1;
    max-width: 600px;
}

/* ==========================================
   CATEGORIES CAROUSEL - FIVERR STYLE
   Replace the existing .categories-grid
   ========================================== */

.categories-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
}

.categories-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 1rem;
}

.categories-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-card {
    position: relative;
    min-width: 200px;
    flex-shrink: 0;
    padding: 2rem 1.5rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    color: #6B7280;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(26, 29, 31, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
    background: rgba(59, 130, 246, 0.95);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
}

.carousel-nav-prev {
    left: 0;
}

.carousel-nav-next {
    right: 0;
}

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

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

[dir="rtl"] .carousel-nav-prev svg {
    transform: rotate(180deg);
}

[dir="rtl"] .carousel-nav-next svg {
    transform: rotate(180deg);
}

/* Carousel Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 24px;
    background: #3B82F6;
    border-radius: 4px;
}

.carousel-dot:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .categories-wrapper {
        padding: 0 2rem;
    }

    .category-card {
        min-width: 180px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .categories-wrapper {
        padding: 0 1rem;
    }

    .category-card {
        min-width: 160px;
        padding: 1.75rem 1.25rem;
    }

    .category-icon {
        font-size: 2.25rem;
    }

    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .categories-wrapper {
        padding: 0;
    }

    .category-card {
        min-width: 140px;
        padding: 1.5rem 1rem;
    }

    .category-icon {
        font-size: 2rem;
    }

    .category-name {
        font-size: 1rem;
    }
}

/* ==========================================
   POPULAR SERVICES - FIVERR GIGS STYLE
   ========================================== */

.popular-services {
    padding: 80px 0;
    background: rgba(26, 29, 31, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.service-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

[dir="rtl"] .service-badge {
    right: auto;
    left: 12px;
}

.service-content {
    padding: 1.25rem;
}

.service-seller {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.seller-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
}

.seller-level {
    font-size: 0.75rem;
    color: #6B7280;
}

.service-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    font-size: 0.9rem;
    font-weight: 700;
    color: #F59E0B;
}

.rating-count {
    font-size: 0.85rem;
    color: #6B7280;
}

.service-price {
    text-align: right;
}

[dir="rtl"] .service-price {
    text-align: left;
}

.price-label {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.how-it-works {
    padding: 80px 0;
    background: #0D0F10;
}

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

.step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(59, 130, 246, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 30px;
    height: 30px;
    color: #3B82F6;
}

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

.step-description {
    font-size: 0.95rem;
    color: #A9ADB1;
    line-height: 1.6;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */

.why-choose-us {
    padding: 80px 0;
    background: rgba(26, 29, 31, 0.3);
}

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

.feature-card {
    padding: 2rem 1.75rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: #3B82F6;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.95rem;
    color: #A9ADB1;
    line-height: 1.6;
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing-section {
    padding: 80px 0;
    background: #0D0F10;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.pricing-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.featured {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.08);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1.25rem;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: #3B82F6;
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: #6B7280;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #A9ADB1;
    font-size: 0.95rem;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: #3B82F6;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.pricing-btn.primary {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.pricing-btn.primary:hover {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.6);
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq-section {
    padding: 80px 0;
    background: rgba(26, 29, 31, 0.3);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    color: #3B82F6;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    color: #A9ADB1;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: #3B82F6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #A9ADB1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.2rem;
    color: #A9ADB1;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #FFFFFF;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(59, 130, 246, 0.6);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 550px;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .search-wrapper {
        flex-direction: column;
    }

    .search-input {
        padding: 1rem 1rem 1rem 3.5rem;
    }

    [dir="rtl"] .search-input {
        padding: 1rem 3.5rem 1rem 1rem;
    }

    .search-btn {
        width: 100%;
        padding: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   HERO ACTION BUTTONS - DUAL LAYOUT
   ========================================== */

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.75rem;
    border-radius: 12px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Secondary Button (Browse) */
.hero-action-btn.secondary {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-action-btn.secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-action-btn.secondary:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.hero-action-btn.secondary:hover::before {
    opacity: 1;
}

/* Primary Button (Post Service) */
.hero-action-btn.primary {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: 1px solid transparent;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.hero-action-btn.primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.6);
}

.hero-action-btn.primary:hover::before {
    opacity: 1;
}

/* Icons */
.hero-action-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.hero-action-btn span {
    position: relative;
    z-index: 2;
}

.hero-action-btn .arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-action-btn:hover .arrow-icon {
    transform: translateX(3px);
}

[dir="rtl"] .hero-action-btn:hover .arrow-icon {
    transform: translateX(-3px);
}

/* Pulse Animation for Primary Button */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(59, 130, 246, 0.6);
    }
}

.hero-action-btn.primary {
    animation: pulse 2s ease-in-out infinite;
}

.hero-action-btn.primary:hover {
    animation: none;
}

/* ==========================================
   RESPONSIVE - BUTTONS
   ========================================== */

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
        margin-top: 1.75rem;
    }

    .hero-action-btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-action-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        margin-top: 1.5rem;
    }

    .hero-action-btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ==========================================
   HOVER EFFECTS - ENHANCED
   ========================================== */

.hero-action-btn {
    cursor: pointer;
}

.hero-action-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Ripple Effect on Click */
.hero-action-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.hero-action-btn:active::after {
    opacity: 1;
    transform: scale(1);
    transition: all 0s;
}