:root {
    /* Premium Color Palette */
    --color-primary: #0f172a;
    /* Deep Midnight Blue */
    --color-secondary: #FF5D00;
    /* Vibrant Orange */
    --color-accent: #14b8a6;
    /* Teal */
    --color-background: #f8fafc;
    /* Very Light Gray */
    --color-surface: #ffffff;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #cc4a00;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

/* OAuth Buttons */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-google {
    background-color: white;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    width: 100%;
    justify-content: center;
}

.btn-google:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn-apple {
    background-color: black;
    color: white;
    width: 100%;
    justify-content: center;
}

.btn-apple:hover {
    background-color: #333;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.divider span {
    padding: 0 0.75rem;
}

.hidden {
    display: none !important;
}

/* Header & Nav */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    font-weight: 500;
    color: var(--color-text-main);
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--color-secondary);
}

.nav-highlight {
    color: var(--color-secondary);
    font-weight: 600;
}

/* Icons & Badges */
.nav-icons {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    margin-left: var(--spacing-lg);
    padding-left: var(--spacing-lg);
    border-left: 1px solid var(--color-border);
}

.icon-wrapper,
.icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
}

.icon-wrapper:hover,
.icon-link:hover {
    background-color: #f1f5f9;
    color: var(--color-primary);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--color-secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    border: 2px solid white;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    width: 320px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    font-weight: 600;
    background-color: #f8fafc;
}

.dropdown-content {
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-item {
    width: 100%;
    text-align: left;
    padding: var(--spacing-md);
    border: none;
    background: white;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f8fafc;
}

.dropdown-item.unread {
    background-color: rgba(255, 93, 0, 0.05);
}

.notif-msg {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.empty-state {
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--color-text-muted);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-left: var(--spacing-sm);
}

.lang-switch a {
    font-weight: 500;
    transition: color 0.2s;
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--color-primary);
    font-weight: 700;
}

.separator {
    color: var(--color-border);
}

/* Footer */
/* Footer */
.main-footer {
    background-color: #0c0a09;
    /* Stone 950 - Very dark warm grey, almost black */
    color: #a8a29e;
    /* Stone 400 */
    padding: var(--spacing-2xl) 0;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid #292524;
    position: relative;
    background-image: none;
    /* Explicitly remove any gradient */
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    /* Removed backdrop-filter to avoid rendering issues */
}

.mobile-menu-content,
.mobile-drawer {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #1e293b;
    /* Explicit dark text */
    width: 80%;
    max-width: 300px;
    min-height: 100vh;
    /* Force full height */
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    animation: slideRight 0.3s ease-out;
    position: relative;
    /* Ensure z-index works if needed */
    z-index: 2001;
}

/* Force opacity on children */
.mobile-drawer * {
    opacity: 1 !important;
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-nav-item {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-main);
    padding: var(--spacing-sm) 0;
}

.mobile-nav-item.highlight {
    color: var(--color-secondary);
    font-weight: 700;
}

.mobile-nav-item.text-danger {
    color: #ef4444;
}

.badge-inline {
    background: var(--color-secondary);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.mobile-lang-switch {
    margin-top: auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

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

    .header-content {
        justify-content: space-between;
    }
}

main {
    min-height: 80vh;
}

/* Hero Section */
/* Hero Section */
.hero {
    background-color: #f8fafc;
    /* Modern 'Aurora' Gradient Background - Fresh & Sophisticated */
    background-image:
        radial-gradient(at 0% 0%, rgba(255, 93, 0, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.1) 0px, transparent 50%),
        /* Soft violet hint */
        radial-gradient(at 100% 100%, rgba(20, 184, 166, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(255, 93, 0, 0.05) 0px, transparent 50%);
    color: var(--color-text-main);
    padding: 6rem 0 8rem 0;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Subtle Dot Pattern for texture 'motif' */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.search-bar-container {
    background: white;
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-form {
    display: flex;
    align-items: center;
}

.input-group {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-group.border-left {
    border-left: 1px solid var(--color-border);
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--color-text-muted);
    pointer-events: none;
    width: 24px;
    height: 24px;
}

.search-input,
.location-input {
    width: 100%;
    padding: 1rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.search-btn {
    margin: 4px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Categories */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

.category-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 93, 0, 0.2);
}

.category-card:hover::before {
    opacity: 1;
}

.cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-color: rgba(255, 93, 0, 0.05);
    color: var(--color-secondary);
}

.category-card:hover .cat-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(255, 93, 0, 0.1);
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}

.category-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Staggered Animation Delays */
.category-card:nth-child(1) {
    transition-delay: 0.1s;
}

.category-card:nth-child(2) {
    transition-delay: 0.2s;
}

.category-card:nth-child(3) {
    transition-delay: 0.3s;
}

.category-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* How It Works - Premium Polish */
.how-it-works {
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-2xl);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    position: relative;
}

/* Connecting line for desktop */
@media (min-width: 769px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 32px;
        /* Center of icon (64px/2) */
        left: 15%;
        right: 15%;
        height: 2px;
        background: repeating-linear-gradient(to right, var(--color-border) 0, var(--color-border) 10px, transparent 10px, transparent 20px);
        z-index: -1;
    }
}

.step-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-secondary);
}

.step-icon {
    width: 72px;
    height: 72px;
    background: white;
    color: var(--color-secondary);
    border: 2px solid rgba(255, 93, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    border-color: var(--color-secondary);
    background: rgba(255, 93, 0, 0.05);
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-main);
}

.step-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Features Section - Premium Polish */
.features-section {
    background-color: #f8fafc;
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
}

/* Decorative background blobs */
.features-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-main);
    line-height: 1.2;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-size: 1.15rem;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.feature-list li:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
    transform: translateX(10px);
}

.check-icon {
    color: var(--color-secondary);
    flex-shrink: 0;
    background: rgba(255, 93, 0, 0.1);
    padding: 6px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    margin-top: 2px;
}

/* CTA Section - Premium Polish */
/* CTA Section */
.cta-section {
    padding: 6rem 0;
    margin-top: var(--spacing-2xl);
    text-align: center;
    background-color: #fff7ed;
    /* Light warm orange/cream */
    /* Subtle warm gradient */
    background-image:
        radial-gradient(at 50% 100%, rgba(255, 93, 0, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 0%, rgba(255, 255, 255, 0.8) 0px, transparent 50%);
    color: var(--color-text-main);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

.cta-section::after {
    /* Removed pattern, adding subtle decorative ring instead */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 93, 0, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-main);
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(255, 93, 0, 0.1), 0 2px 4px -1px rgba(255, 93, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 93, 0, 0.2), 0 4px 6px -2px rgba(255, 93, 0, 0.1);
}

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

    .feature-image {
        order: -1;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Service Tabs Section */
.services-tabs-section {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.promoted {
    border: 2px solid #fbbf24;
    /* Gold/Amber */
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.service-image {
    height: 180px;
    background: #f1f5f9;
    position: relative;
    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);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.badge-promoted {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.service-info {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-main);
    line-height: 1.4;
}

.service-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.price {
    font-weight: 700;
    color: var(--color-primary);
}

.location {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tab-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Stats Section */
/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background-color: #ffffff;
    /* Clean white background, removed solid orange strip */
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-main);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    /* Very subtle geometric accent on sides */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(to left, rgba(248, 250, 252, 1), transparent);
    pointer-events: none;
    z-index: 0;
}

/* Enhancing the stats numbers to pop without a dark background */
.stats-section .reveal div:first-child {
    background: linear-gradient(135deg, #FF5D00 0%, #db2777 100%);
    /* Orange to Pink/Magenta */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(255, 93, 0, 0.1));
}

.stats-section h2 {
    /* Update header to use standard text color since background is white */
    background: none !important;
    -webkit-text-fill-color: var(--color-primary) !important;
    color: var(--color-primary);
}

.stats-section p {
    color: var(--color-text-muted) !important;
}

.stats-section .reveal div:last-child {
    color: var(--color-text-muted) !important;
    /* Label color */
}

/* --- Chat Interface Styles --- */

.chat-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.chat-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-main);
}

.chat-subtitle {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
}

.chat-status-badge {
    padding: 0.35rem 0.85rem;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Status Colors */
.status-open {
    background-color: #fef3c7;
    color: #b45309;
}

.status-accepted {
    background: rgba(255, 93, 0, 0.1);
    color: #FF5D00;
}

.status-completed {
    background-color: #dcfce7;
    color: #15803d;
}

.status-cancelled {
    background-color: #fee2e2;
    color: #b91c1c;
}

.chat-window {
    flex: 1;
    background: white;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-top: none;
}

.messages-area {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.sent {
    align-self: flex-end;
    background-color: var(--color-secondary);
    color: white;
    border-bottom-right-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(255, 93, 0, 0.2);
}

.message.received {
    align-self: flex-start;
    background-color: white;
    color: var(--color-text-main);
    border-bottom-left-radius: 0.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.message img {
    max-width: 100%;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    display: block;
}

.chat-input-area {
    padding: 1.25rem;
    border-top: 1px solid var(--color-border);
    background: white;
}

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

.chat-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    background-color: #f8fafc;
}

.chat-input:focus {
    border-color: var(--color-secondary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 93, 0, 0.1);
}

.chat-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px dashed var(--color-border);
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.btn-icon:hover {
    background-color: #f1f5f9;
}

/* Pricing Grid Redesign */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--color-secondary);
    background: linear-gradient(to bottom, #fff7ed, white);
    box-shadow: 0 10px 15px -3px rgba(255, 93, 0, 0.1);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}