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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4f46e5;
}

.nav-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
    background: #ffffff;
}

.nav-brand i {
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4f46e5;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.5s;
}

.page.active {
    display: block;
}

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

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 800px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    width: 80%;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Home Quick Actions */
.home-actions {
    padding: 2rem 0;
}

.home-actions-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.home-actions-text h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.25rem;
}

.home-actions-text p {
    color: #666;
}

.home-actions-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.home-actions-buttons .btn-primary,
.home-actions-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.step {
    text-align: center;
    padding: 2rem;
}

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

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4f46e5;
}

.step p {
    color: #666;
}

/* Search Page */
.search-header {
    padding: 2rem 0;
}

.search-header h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.search-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-filters input,
.search-filters select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    flex: 1;
    min-width: 150px;
}

.search-filters button {
    padding: 0.75rem 2rem;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-filters button:hover {
    background: #4338ca;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.profile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.profile-card-info {
    padding: 1.5rem;
}

.profile-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.profile-card-info .skill {
    color: #4f46e5;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-card-info .location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.profile-card-info .business {
    color: #10b981;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.profile-card-info .phone {
    color: #f59e0b;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Profile Page */
.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-container h2 {
    margin-bottom: 2rem;
    color: #333;
}

.billing-panel {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.billing-panel-content h3 {
    margin: 0 0 0.5rem;
    color: #111827;
}

.billing-message {
    margin: 0 0 1rem;
    color: #374151;
}

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

.profile-avatar-section {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-preview img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #4f46e5;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
}

.btn-secondary {
    background: #e5e7eb;
    color: #333;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.phone-number {
    color: #f59e0b;
    font-size: 0.9rem;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background: #10b981;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.call-btn:hover {
    background: #059669;
}

/* Customer care button */
.customer-care-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, background 0.2s ease;
}

.customer-care-btn:hover {
    background: #0f172a;
    transform: translateY(-1px);
}

.customer-care-btn i {
    font-size: 1.1rem;
}

.customer-care-btn span {
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .customer-care-btn span {
        display: none;
    }
    .customer-care-btn {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* Auth Page */
.auth-container {
    max-width: 500px;
    margin: 4rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #4f46e5;
    border-bottom: 2px solid #4f46e5;
    margin-bottom: -2px;
}

.auth-form {
    padding: 2rem;
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #9ca3af;
}

.footer-section i {
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4f46e5;
}

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

.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error-message {
    background: #fee;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .search-filters input,
    .search-filters select {
        min-width: 100%;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }

    .home-actions-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-actions-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}
