/* Reset and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-50: #eff6ff;
    --purple-600: #7c3aed;
    --purple-700: #6d28d9;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --green-600: #059669;
    --green-50: #ecfdf5;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-600);
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link.active {
    color: var(--blue-600);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    padding: 0.5rem;
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.icon-btn:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 0.5cm;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--gray-100);
}

.mobile-menu-btn {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--gray-600);
    transition: all 0.3s;
    border: none;
    background: transparent;
    text-align: left;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-nav-link:hover {
    background: var(--gray-50);
}

.mobile-nav-link.active {
    background: var(--blue-50);
    color: var(--blue-600);
    font-weight: 600;
}

/* Buttons */
.btn-primary {
    padding: 0.75rem 2rem;
    background: var(--blue-600);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--blue-700);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.icon-btn:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 2px;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-white {
    padding: 1rem 2rem;
    background: white;
    color: var(--blue-600);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: var(--blue-50);
}

.btn-dark {
    padding: 0.75rem 2rem;
    background: var(--gray-900);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
    width: 100%;
}

.btn-dark:hover {
    background: var(--gray-800);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-700) 40%, var(--blue-800) 100%);
    color: white;
    padding: 5rem 0;
}

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

.hero-title {
    font-size: 3.75rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Search Form */
.search-form {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgb(0 0 0 / 0.03);
    flex-wrap: wrap;
}

.search-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.search-input-group svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.search-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    color: var(--gray-900);
    font-size: 1rem;
}

.search-input-group input::placeholder {
    color: var(--gray-500);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Section */
.section {
    padding: 4rem 0;
}

.section.bg-white {
    background: white;
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    overflow: hidden;
}

.category-card:hover {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

@keyframes imageFloat {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.06) translate(1%, 1%); }
}

.category-image {
    position: relative;
    height: 160px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.category-card .category-name {
    padding: 1rem 1.5rem;
}

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

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

.category-name {
    font-weight: 600;
    color: var(--gray-900);
    transition: color 0.3s;
}

.category-card:hover .category-name {
    color: var(--blue-600);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon.bg-blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.feature-icon.bg-green {
    background: #dcfce7;
    color: var(--green-600);
}

.feature-icon.bg-amber {
    background: #fef3c7;
    color: var(--amber-600);
}

.feature-icon.bg-purple {
    background: #f3e8ff;
    color: var(--purple-600);
}

.feature-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--blue-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: white;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 3rem 0;
}

.footer-col {
    min-width: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.footer-text {
    font-size: 0.875rem;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
}

/* Browse Page */
.browse-page {
    padding: 2rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--gray-600);
}

.browse-layout {
    display: flex;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 320px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    position: sticky;
    top: 96px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.filters-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: block;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.filter-option:hover {
    background: var(--gray-50);
}

.filter-option.active {
    background: var(--blue-50);
    color: var(--blue-600);
    font-weight: 500;
}

.filter-option svg {
    color: var(--amber-400);
    flex-shrink: 0;
}

.category-emoji {
    font-size: 1.25rem;
}

.price-slider {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--blue-600);
    border-radius: 50%;
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--blue-600);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.pro-filter-card {
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border-radius: 8px;
    border: 1px solid #fcd34d;
}

.pro-filter-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pro-icon {
    color: var(--amber-600);
}

.pro-filter-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Workers Section */
.workers-section {
    flex: 1;
}

.mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Worker Card */
.worker-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.worker-card:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgb(0 0 0 / 0.03);
}

.worker-image {
    position: relative;
    height: 192px;
    background: var(--gray-100);
    overflow: hidden;
}

.worker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: imageFloat 10s ease-in-out infinite;
    transition: transform 0.4s ease;
}

.worker-card:hover .worker-image img {
    animation: none;
    transform: scale(1.08);
}

.worker-pro-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.worker-card-content {
    padding: 1.25rem;
}

.worker-header {
    margin-bottom: 0.75rem;
}

.worker-card-name {
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.verified-icon {
    color: var(--blue-600);
}

.worker-card-specialty {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.worker-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.star-icon {
    color: var(--amber-400);
}

.rating-value {
    font-weight: 600;
    color: var(--gray-900);
}

.rating-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.worker-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.worker-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.worker-info-item svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.availability {
    color: var(--green-600);
    font-weight: 500;
}

.worker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.worker-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.price-unit {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.btn-book {
    padding: 0.5rem 1rem;
    background: var(--blue-600);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.btn-book:hover {
    background: var(--blue-700);
}

.no-results {
    text-align: center;
    padding: 4rem 0;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.no-results-title {
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.no-results-text {
    color: var(--gray-400);
}

/* Filters Overlay (Mobile) */
.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.filters-overlay.active {
    display: block;
}

.filters-modal {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    background: white;
    overflow-y: auto;
    padding: 1.5rem;
}

.filters-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-modal-header h2 {
    font-size: 1.125rem;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--gray-700);
}

/* Worker Profile Page */
.worker-profile-page {
    padding: 2rem 0;
}

.worker-header-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.worker-header-layout {
    display: flex;
}

.worker-header-image {
    position: relative;
    width: 33.333%;
    min-height: 320px;
    background: var(--gray-100);
    overflow: hidden;
}

.worker-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: imageFloat 12s ease-in-out infinite;
}

.pro-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.worker-header-info {
    flex: 1;
    padding: 2rem;
}

.worker-name-section {
    margin-bottom: 1rem;
}

.worker-name {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.worker-specialty {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.worker-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.worker-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.worker-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.worker-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
}

.worker-detail svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.worker-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.worker-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.worker-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 384px;
    gap: 2rem;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
}

.profile-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.profile-text {
    color: var(--gray-700);
    line-height: 1.75;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    padding: 0.5rem 1rem;
    background: var(--blue-50);
    color: var(--blue-700);
    border-radius: 999px;
    font-weight: 500;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.review-user {
    font-weight: 600;
    color: var(--gray-900);
}

.review-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating .star {
    color: var(--gray-300);
}

.review-rating .star.filled {
    color: var(--amber-400);
}

.review-comment {
    color: var(--gray-700);
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
}

.sidebar-title {
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.trust-badge svg {
    color: var(--green-600);
    flex-shrink: 0;
}

.profile-sidebar .pricing-card,
.sidebar-card.pricing-card {
    background: linear-gradient(135deg, var(--blue-50), #dbeafe);
    border: 1px solid #bfdbfe;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.pricing-value {
    font-weight: 600;
    color: var(--gray-900);
}

.promo-card {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border: 1px solid #fcd34d;
}

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

.promo-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.promo-title {
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.promo-text {
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.promo-code {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #fbbf24;
}

.promo-code code {
    color: #d97706;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal {
    background: white;
    border-radius: 16px;
    max-width: 672px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgb(0 0 0 / 0.05);
}

.modal-header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.modal-body {
    padding: 1.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-slider {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--blue-600);
    border-radius: 50%;
    cursor: pointer;
}

.form-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--blue-600);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.booking-summary {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.summary-total {
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-300);
    font-weight: bold;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.modal-actions .btn-secondary,
.modal-actions .btn-primary {
    flex: 1;
    padding: 0.75rem 1.5rem;
}

/* Subscriptions Page */
.subscriptions-hero {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--purple-600) 50%, var(--blue-700) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

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

.pricing-card {
    background: white;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.featured {
    border-color: var(--purple-600);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(124, 58, 237, 0.2);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.pricing-card > div {
    padding: 2rem;
}

.plan-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.plan-icon.bg-blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.plan-icon.bg-purple {
    background: #f3e8ff;
    color: var(--purple-600);
}

.plan-icon.bg-amber {
    background: #fef3c7;
    color: var(--amber-600);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--gray-900);
}

.price-period {
    color: var(--gray-500);
}

.plan-features {
    list-style: none;
    margin-top: 1.5rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.plan-features svg {
    color: var(--green-600);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Promotions */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.promo-card-large {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.3s;
}

.promo-card-large:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.promo-header {
    height: 8px;
}

.promo-header.bg-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.promo-header.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.promo-header.bg-blue-gradient {
    background: linear-gradient(135deg, var(--blue-600), #0284c7);
}

.promo-body {
    padding: 1.5rem;
}

.promo-discount {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.promo-discount.bg-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.promo-discount.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.promo-discount.bg-blue-gradient {
    background: linear-gradient(135deg, var(--blue-600), #0284c7);
}

.promo-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.promo-card-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.promo-code-box {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.promo-code-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.promo-code-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-code-text {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--gray-900);
    font-family: 'Courier New', monospace;
}

.btn-copy {
    padding: 0.25rem 0.75rem;
    background: var(--blue-600);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
}

.btn-copy:hover {
    background: var(--blue-700);
}

.promo-valid {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--blue-600);
}

.faq-question {
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-icon {
    color: var(--gray-400);
    transition: transform 0.3s;
}

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

.faq-answer {
    color: var(--gray-600);
    margin-top: 1rem;
}

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

/* Booking Confirmation Page */
.confirmation-page {
    padding: 4rem 0;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    color: var(--green-600);
}

.confirmation-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.confirmation-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.confirmation-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.booking-reference {
    background: var(--blue-600);
    color: white;
    padding: 1.5rem;
}

.reference-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.reference-number {
    font-size: 1.5rem;
    font-weight: bold;
}

.booking-details {
    padding: 1.5rem;
}

.details-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item svg {
    color: var(--gray-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-label {
    font-weight: 500;
    color: var(--gray-900);
}

.detail-value {
    color: var(--gray-600);
}

.professional-section {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.professional-title {
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.professional-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.professional-avatar {
    width: 64px;
    height: 64px;
    background: var(--gray-200);
    border-radius: 50%;
}

.professional-name {
    font-weight: 600;
    color: var(--gray-900);
}

.professional-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.payment-summary {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.payment-title {
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    color: var(--gray-700);
}

.payment-row.discount {
    color: var(--green-600);
}

.payment-row.total {
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-300);
    font-weight: bold;
    color: var(--gray-900);
    font-size: 1.125rem;
}

.payment-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

.next-steps-card {
    background: var(--blue-50);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.next-steps-title {
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

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

.next-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--gray-700);
}

.step-number {
    color: var(--blue-600);
    font-weight: bold;
    flex-shrink: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-card svg {
    color: var(--gray-400);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.contact-value {
    font-weight: 600;
    color: var(--gray-900);
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-buttons a {
    flex: 1;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .browse-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        display: none;
    }

    .mobile-filter-btn {
        display: flex;
    }

    .worker-header-layout {
        flex-direction: column;
    }

    .worker-header-image {
        width: 100%;
        min-height: 256px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

@media (max-width: 768px) {
    .desktop-nav,
    .header-actions {
        display: none;
    }

    .mobile-header-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-bell-btn {
        display: block;
    }

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

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

    .search-input-group {
        min-width: 100%;
    }

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

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

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

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

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

    .worker-details-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

/* Auth Page */
.auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.auth-tab:hover {
    background: var(--gray-50);
}

.auth-tab.active {
    background: var(--blue-600);
    color: white;
    border-color: var(--blue-600);
}

.auth-tab-panel {
    display: none;
}

.auth-tab-panel.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.btn-full {
    width: 100%;
}

.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--blue-600);
    text-decoration: underline;
}

/* Credits Page */
.credits-page {
    padding: 3rem 0;
}

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

.credits-balance {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--blue-50);
    display: inline-block;
    border-radius: 8px;
    font-size: 1.125rem;
}

.credit-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.credit-plan-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--gray-200);
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.credit-plan-card:hover {
    border-color: var(--blue-600);
}

.credit-plan-card.featured {
    border-color: var(--blue-600);
    box-shadow: var(--shadow-lg);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-200);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-badge.popular {
    background: var(--blue-600);
    color: white;
}

.credit-plan-card .plan-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.credit-plan-card .plan-price {
    margin-bottom: 0.25rem;
}

.plan-credits {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Dashboard */
.dashboard-page {
    padding: 2rem 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.dashboard-card.highlight {
    border-color: var(--blue-600);
    background: var(--blue-50);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.card-hint {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.dashboard-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.dashboard-section .section-title {
    margin-bottom: 1rem;
}

.contact-item {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-item:last-child {
    border-bottom: none;
}

.text-muted {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.empty-state {
    color: var(--gray-500);
}

.empty-state a {
    color: var(--blue-600);
}

@media (max-width: 768px) {
    .credit-plans-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
