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

:root {
    --primary-color: #14b8a6;
    --primary-dark: #0f766e;
    --primary-light: #5eead4;
    --secondary-color: #6366f1;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #14b8a6 0%, #6366f1 100%);
    --gradient-2: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section - Stripe-inspired */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 25%, #fef3c7 50%, #fce7f3 75%, #e0e7ff 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.375rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #14b8a6 0%, #6366f1 100%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    bottom: -250px;
    right: -250px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* How It Works Section */
.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

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

.contact .btn-primary:hover {
    background: var(--bg-light);
}

.contact .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section .logo {
    color: white;
    margin-bottom: 1rem;
}


.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .hero-demo-card {
        padding: 20px;
    }

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

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

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

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

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

    .contact-buttons .btn {
        width: 100%;
    }
}

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

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

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

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

/* Selection */
::selection {
    background: var(--primary-light);
    color: var(--text-dark);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s;
    position: relative;
}

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

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Sign Up Form */
.signup-form {
    padding: 2rem;
}

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

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

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-error {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
}

.success-message {
    color: #10b981;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    display: none;
}

.success-message.show {
    display: block;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.modal-footer p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

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

#submitButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .modal-header,
    .signup-form,
    .modal-footer {
        padding: 1.5rem;
    }
}

/* Auth Pages Styles */
.auth-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.auth-background .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 25s infinite ease-in-out;
}

.auth-background .orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.auth-background .orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -200px;
    right: -200px;
    animation-delay: 8s;
}

.auth-background .orb-3 {
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    top: 50%;
    right: 10%;
    animation-delay: 16s;
}

.auth-navbar {
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.auth-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.back-home {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-home:hover {
    color: var(--primary-color);
}

.auth-container-wrapper {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 20px;
}

.auth-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.5s ease;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.6;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: var(--text-light);
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: color 0.3s;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.eye-icon {
    font-size: 1.25rem;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.password-toggle:hover .eye-icon {
    filter: grayscale(0);
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: var(--text-light);
}

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

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

.auth-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.auth-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-footer-link {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.nav-link-login {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-link-login:hover {
    color: var(--primary-color);
    background-color: var(--primary-50);
}

/* Download Page Styles */
.download-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.download-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    justify-content: center;
}

.ios-btn {
    background: #000;
    color: white;
}

.ios-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.android-btn {
    background: #3ddc84;
    color: #000;
}

.android-btn:hover {
    background: #2bc770;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.download-btn svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-btn-label {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.2;
}

.download-btn-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.download-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.download-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.download-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-feature h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.download-feature p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.download-info {
    padding: 80px 0;
    background: var(--bg-white);
}

.download-info-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.download-info-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.download-info-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.download-info-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


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

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

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

/* Responsive Auth Pages */
@media (max-width: 768px) {
    .auth-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

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

    .auth-subtitle {
        font-size: 1rem;
    }

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

    .download-description {
        font-size: 1.125rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .download-btn {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

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

/* About Page Styles */
.about-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    text-align: center;
    overflow: hidden;
}

.about-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.about-hero-background .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.about-hero-background .orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    top: -200px;
    left: -200px;
}

.about-hero-background .orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.15);
    bottom: -175px;
    right: -175px;
    animation-delay: 10s;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.about-hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.about-mission,
.about-story {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-values {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-stats {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-cta {
    padding: 80px 0;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.about-section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-content.reverse {
    direction: rtl;
}

.about-section-content.reverse > * {
    direction: ltr;
}

.about-section-text {
    padding: 2rem 0;
}

.about-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-section-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

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

.stat-card {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--primary-200);
}

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

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-card .stat-label {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 600;
}

.about-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.about-cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

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

.about-cta .btn-primary {
    background: white;
    color: var(--primary-600);
}

.about-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.about-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.about-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-600);
}

/* About Preview Section (on landing page) */
.about-preview {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-preview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-preview-text {
    padding: 2rem 0;
}

.about-preview-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive About Page */
@media (max-width: 968px) {
    .about-section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-section-content.reverse {
        direction: ltr;
    }

    .about-image-placeholder {
        max-width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 120px 0 60px;
    }

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

    .about-hero-subtitle {
        font-size: 1.25rem;
    }

    .about-section-title {
        font-size: 2rem;
    }

    .about-cta-title {
        font-size: 2rem;
    }

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

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

    .stat-card .stat-number {
        font-size: 2.5rem;
    }
}

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

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

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

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

/* ============================================
   AIRBNB-STYLE DASHBOARD
   Complete redesign to match Airbnb's clean, modern aesthetic
   ============================================ */

.dashboard-page {
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Top Navigation Bar - Airbnb Style */
.dashboard-top-nav {
    background: #ffffff;
    border-bottom: 1px solid #ebebeb;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.top-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    max-width: 1760px;
    margin: 0 auto;
    height: 80px;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.top-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.top-nav-link {
    color: #222222;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 24px 0;
    position: relative;
    transition: color 0.2s;
}

.top-nav-link:hover {
    color: #222222;
}

.top-nav-link.active {
    color: #222222;
}

.top-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #222222;
}

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

.nav-icon-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.nav-icon-btn:hover {
    background: #f3f4f6;
}

.nav-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ef4444;
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

.user-menu-wrapper {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e5e7eb;
    padding: 0.25rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
}

.user-menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.user-avatar-menu {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.user-menu-info {
    flex: 1;
    min-width: 0;
}

.user-menu-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-email {
    font-size: 0.8125rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: background 0.2s;
    border-radius: 0.5rem;
    margin: 0.25rem;
}

.user-menu-item:hover {
    background: #f9fafb;
}

.user-menu-item svg {
    color: #6b7280;
    flex-shrink: 0;
}

.user-menu-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 0.5rem 0;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    min-height: calc(100vh - 80px);
}

/* Airbnb-style Search Container */
.airbnb-search-container {
    padding: 40px 80px;
    display: flex;
    justify-content: center;
    background: #ffffff;
}

.airbnb-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 40px;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 850px;
    width: 100%;
    transition: box-shadow 0.2s;
}

.airbnb-search-bar:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.search-section {
    flex: 1;
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 40px;
}

.search-section:hover {
    background: #f7f7f7;
}

.search-label {
    font-size: 12px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 2px;
}

.search-placeholder {
    font-size: 14px;
    color: #717171;
    font-weight: 400;
}

.search-divider {
    width: 1px;
    height: 24px;
    background: #dddddd;
}

.search-button {
    background: #FF385C;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin: 7px 7px 7px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.2s;
}

.search-button:hover {
    background: #e61e4d;
}

.header-top {
    margin-bottom: 1.25rem;
}

.header-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.header-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.header-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

/* Search Bar */
.search-bar-container {
    margin-top: 0.75rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 16px 20px;
    margin: 12px 20px 0;
    max-width: 600px;
    transition: all 0.2s;
}

.search-bar:focus-within {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.search-icon {
    color: #9ca3af;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: #1f2937;
    outline: none;
    font-family: inherit;
}

.search-input::placeholder {
    color: #9ca3af;
    font-size: 16px;
    margin-left: 12px;
}

.search-clear-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.2s;
    margin-left: 0.5rem;
}

.search-clear-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Main Content */
.dashboard-main-content {
    padding: 0 80px 80px;
    max-width: 1760px;
    margin: 0 auto;
}

/* Airbnb Section */
.airbnb-section {
    margin-bottom: 48px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    letter-spacing: -0.04em;
}

.section-nav-arrows {
    display: flex;
    gap: 8px;
}

.nav-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #222222;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #222222;
}

.nav-arrow:hover {
    border-color: #222222;
    background: #f7f7f7;
}

/* Horizontal Scroll */
.airbnb-horizontal-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.airbnb-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* Airbnb Grid */
.airbnb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px 16px;
}

/* Airbnb Card */
.airbnb-card {
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.airbnb-card:hover {
    transform: scale(1.02);
}

/* Shop cards - smaller size for horizontal scroll */
.airbnb-horizontal-scroll .airbnb-card {
    width: 240px;
    flex-shrink: 0;
}

.airbnb-horizontal-scroll .airbnb-card-image-container {
    aspect-ratio: 4 / 3;
    height: 180px;
}

.airbnb-horizontal-scroll .airbnb-card-content {
    padding: 0;
}

.airbnb-horizontal-scroll .airbnb-card-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.airbnb-horizontal-scroll .airbnb-card-location {
    font-size: 14px;
}

.airbnb-horizontal-scroll .airbnb-card-rating {
    font-size: 12px;
}

.airbnb-card-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.airbnb-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.airbnb-image-fallback {
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airbnb-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #222222;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.airbnb-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #222222;
    backdrop-filter: blur(10px);
}

.airbnb-heart-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.airbnb-heart-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.airbnb-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.airbnb-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.airbnb-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.airbnb-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}

.airbnb-card-rating svg {
    width: 12px;
    height: 12px;
    fill: #222222;
}

.airbnb-card-location {
    font-size: 15px;
    color: #717171;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.airbnb-card-price {
    font-size: 15px;
    color: #222222;
    margin: 0;
    font-weight: 600;
}

.airbnb-card-price::before {
    content: '$';
}

/* Remove old category filters - not needed in Airbnb style */

.category-filters-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.category-filters-scroll::-webkit-scrollbar {
    height: 4px;
}

.category-filters-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.category-filters-scroll::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 2px;
}

.category-filter {
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    margin-right: 12px;
}

.category-filter:hover {
    background: #e5e7eb;
}

.category-filter.active {
    background: #008080;
    border-color: #008080;
    color: #ffffff;
}

/* Section Headers */
.featured-section {
    margin-top: 24px;
    padding-left: 20px;
    padding-right: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
    margin: 0;
}

.section-view-all {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: #f0fdfa;
    border-radius: 12px;
    border: 1px solid #ccfbf1;
    color: #008080;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    gap: 4px;
}

.section-view-all:hover {
    background: #ccfbf1;
    border-color: #99f6e4;
}

/* Old card styles removed - using Airbnb cards above */

/* Loading and Empty States */
.loading-state-horizontal,
.empty-state-horizontal {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    min-width: 300px;
    color: #717171;
}

.loading-state-grid,
.empty-state-grid {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #717171;
    min-height: 300px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.loading-state-horizontal p,
.loading-state-grid p,
.empty-state-horizontal p,
.empty-state-grid p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 1128px) {
    .dashboard-main-content {
        padding: 0 40px 40px;
    }
    
    .airbnb-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 40px 16px;
    }
}

@media (max-width: 768px) {
    .top-nav-links {
        display: none;
    }

    .airbnb-search-container {
        padding: 24px 24px;
    }

    .airbnb-search-bar {
        flex-direction: column;
        border-radius: 12px;
        padding: 8px;
    }

    .search-section {
        width: 100%;
        border-radius: 8px;
    }

    .search-divider {
        display: none;
    }

    .search-button {
        width: 100%;
        border-radius: 8px;
        margin: 8px 0 0 0;
    }

    .dashboard-main-content {
        padding: 0 24px 40px;
    }

    .airbnb-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .airbnb-search-container {
        padding: 16px;
    }

    .dashboard-main-content {
        padding: 0 16px 32px;
    }
}

/* ============================================
   SHOP AND SERVICE VIEW PAGES
   Matching mobile app UI structure
   ============================================ */

.shop-view-page,
.service-view-page {
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Back Button Header */
.shop-view-header,
.service-view-header {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ebebeb;
}

.back-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dddddd;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #222222;
}

.back-button:hover {
    border-color: #222222;
    background: #f7f7f7;
}

/* Loading and Error States */
.loading-state-full,
.error-state-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px;
    text-align: center;
    color: #717171;
}

/* Messages Loading States */
.messages-loading-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 8px 0;
}

.conversation-skeleton {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    flex-shrink: 0;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-title {
    width: 60%;
    height: 16px;
}

.skeleton-subtitle {
    width: 80%;
    height: 12px;
}

/* Chat Loading States */
.chat-loading-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    width: 100%;
}

.message-skeleton {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: skeleton-fade-in 0.3s ease-out;
}

.message-skeleton-other {
    justify-content: flex-start;
}

.message-skeleton-own {
    justify-content: flex-end;
}

.skeleton-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    flex-shrink: 0;
}

.skeleton-message-bubble {
    max-width: 60%;
    height: 44px;
    border-radius: 18px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

.message-skeleton-other .skeleton-message-bubble {
    background: linear-gradient(90deg, #f7f7f7 25%, #e8e8e8 50%, #f7f7f7 75%);
    background-size: 200% 100%;
    border-bottom-left-radius: 4px;
}

.message-skeleton-own .skeleton-message-bubble {
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-bottom-right-radius: 4px;
}

.skeleton-message-bubble-short {
    max-width: 40%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes skeleton-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empty-state-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px;
    text-align: center;
    color: #717171;
}

.empty-state-full svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state-full p {
    margin: 0;
    font-size: 16px;
    color: #222222;
}

.empty-state-full p + p {
    margin-top: 8px;
    font-size: 14px;
    color: #717171;
}

.retry-button {
    margin-top: 16px;
    padding: 12px 24px;
    background: #222222;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.retry-button:hover {
    background: #000000;
}

/* Shop View Styles */
.shop-view-content {
    padding-top: 80px;
}

.shop-hero-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f7f7f7;
}

.shop-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.shop-details-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 80px;
}

.shop-header-info {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.shop-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f7f7;
    flex-shrink: 0;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #717171;
    background: linear-gradient(135deg, #f7f7f7, #e5e5e5);
}

.shop-title-section {
    flex: 1;
}

.shop-title {
    font-size: 32px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.shop-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #717171;
    margin: 0 0 8px 0;
}

.shop-tagline {
    font-size: 18px;
    color: #222222;
    font-style: italic;
    margin: 0;
}

.shop-bio {
    margin: 32px 0;
    padding: 24px;
    background: #f7f7f7;
    border-radius: 12px;
}

.shop-bio p {
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    margin: 0;
}

.shop-services-section {
    margin-top: 48px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 24px 0;
}

/* Service Cards in Shop View */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card-shop-view {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
}

.service-card-shop-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #222222;
}

.service-card-image-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f7f7;
}

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

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

.service-image-fallback {
    width: 100%;
    height: 100%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-content {
    padding: 16px;
}

.service-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.service-card-category {
    font-size: 14px;
    color: #717171;
    margin: 0 0 8px 0;
}

.service-card-price {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin: 0;
}

.no-services {
    text-align: center;
    padding: 48px;
    color: #717171;
    font-size: 16px;
}

/* Service View Styles */
.service-view-content {
    padding-top: 80px;
}

.service-hero-section {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 80px;
}

.service-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    background: #f7f7f7;
}

.service-hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f7f7f7;
    border-radius: 12px;
}

.service-image-gallery {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.service-image-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.service-image-item.active {
    border-color: #222222;
}

.service-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-details-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 80px;
}

.service-header {
    margin-bottom: 32px;
}

.service-title {
    font-size: 32px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.service-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.service-category-badge {
    padding: 6px 12px;
    background: #f7f7f7;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}

.service-price-large {
    font-size: 24px;
    font-weight: 600;
    color: #222222;
}

.service-shop-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f7f7f7;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 32px;
}

.service-shop-link:hover {
    background: #ebebeb;
}

.service-shop-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    flex-shrink: 0;
}

.service-shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #717171;
    background: linear-gradient(135deg, #f7f7f7, #e5e5e5);
}

.service-shop-info {
    flex: 1;
}

.service-shop-name {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 4px 0;
}

.service-shop-location {
    font-size: 14px;
    color: #717171;
    margin: 0;
}

.service-shop-link svg {
    color: #717171;
    flex-shrink: 0;
}

.service-description {
    margin-bottom: 32px;
}

.service-description h2 {
    font-size: 22px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 16px 0;
}

.service-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    margin: 0;
}

.service-info-section {
    margin-bottom: 32px;
    padding: 24px;
    background: #f7f7f7;
    border-radius: 12px;
}

.service-info-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0;
}

.service-info-section p {
    font-size: 16px;
    color: #222222;
    margin: 0;
}

.service-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.request-service-button,
.view-shop-button {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.request-service-button {
    background: #222222;
    color: #ffffff;
}

.request-service-button:hover {
    background: #000000;
}

.view-shop-button {
    background: #ffffff;
    color: #222222;
    border: 1px solid #dddddd;
}

.view-shop-button:hover {
    border-color: #222222;
    background: #f7f7f7;
}

/* Responsive Design */
@media (max-width: 1128px) {
    .shop-details-container,
    .service-details-container,
    .service-hero-section,
    .messages-content,
    .chat-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* ============================================
   MESSAGING SYSTEM STYLES
   ============================================ */

.messages-page {
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.messages-content {
    padding-top: 80px;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 40px;
}

.messages-container {
    max-width: 800px;
    margin: 0 auto;
}

.messages-title {
    font-size: 32px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 32px 0;
    letter-spacing: -0.02em;
}

.conversations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conversation-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.conversation-card:hover {
    border-color: #222222;
    background: #f7f7f7;
}

.conversation-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f7f7f7;
    flex-shrink: 0;
    position: relative;
}

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

.conversation-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #717171;
    background: linear-gradient(135deg, #f7f7f7, #e5e5e5);
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-name {
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-time {
    font-size: 14px;
    color: #717171;
    flex-shrink: 0;
    margin-left: 8px;
}

.conversation-preview {
    display: flex;
    align-items: center;
    gap: 8px;
}

.conversation-last-message {
    font-size: 14px;
    color: #717171;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.conversation-unread {
    background: #222222;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    flex-shrink: 0;
    min-width: 20px;
    text-align: center;
}

/* Chat Page Styles */
.chat-page {
    min-height: 100vh;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
}

.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    max-height: 900px;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #ebebeb;
    background: #ffffff;
    position: sticky;
    top: 80px;
    z-index: 10;
}

.back-button-chat {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dddddd;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #222222;
    flex-shrink: 0;
}

.back-button-chat:hover {
    border-color: #222222;
    background: #f7f7f7;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.chat-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f7f7f7;
    flex-shrink: 0;
    position: relative;
}

.chat-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-header-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #717171;
    background: linear-gradient(135deg, #f7f7f7, #e5e5e5);
}

.chat-header-details {
    flex: 1;
    min-width: 0;
}

.chat-header-name {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 2px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-header-status {
    font-size: 14px;
    color: #717171;
    margin: 0;
}

.messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    margin-bottom: 4px;
}

.message-own {
    justify-content: flex-end;
}

.message-other {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
}

.message-own .message-content {
    background: #222222;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.message-other .message-content {
    background: #f7f7f7;
    color: #222222;
    border-bottom-left-radius: 4px;
}

.message-text {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 4px 0;
    word-wrap: break-word;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

.message-input-container {
    padding: 16px 0;
    border-top: 1px solid #ebebeb;
    background: #ffffff;
    position: sticky;
    bottom: 0;
}

.message-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f7f7f7;
    border: 1px solid #dddddd;
    border-radius: 24px;
    padding: 8px 16px;
}

.message-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #222222;
    outline: none;
    font-family: inherit;
    padding: 8px 0;
}

.message-input::placeholder {
    color: #717171;
}

.send-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #222222;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.send-button:hover:not(:disabled) {
    background: #000000;
}

.send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Message Button Styles */
.message-shop-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #222222;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.message-shop-button:hover:not(:disabled) {
    background: #000000;
}

.message-shop-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shop-actions {
    display: flex;
    gap: 16px;
    margin: 32px 0;
}

@media (max-width: 768px) {
    .shop-details-container,
    .service-details-container,
    .service-hero-section {
        padding: 24px;
    }

    .shop-header-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .shop-logo-large {
        width: 100px;
        height: 100px;
    }

    .shop-title {
        font-size: 24px;
    }

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

    .service-actions {
        flex-direction: column;
    }

    .messages-content,
    .chat-content {
        padding: 24px;
    }

    .chat-container {
        height: calc(100vh - 80px);
    }
}

.dashboard-navbar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dashboard-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.dashboard-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.dashboard-nav-links .nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.dashboard-nav-links .nav-link:hover,
.dashboard-nav-links .nav-link.active {
    color: var(--primary-color);
}

.dashboard-nav-links .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
}

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

.dashboard-icon-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.dashboard-icon-btn:hover {
    background: var(--bg-light);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--error-600);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.dashboard-user-menu {
    position: relative;
}

.dashboard-user-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.dashboard-user-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-50);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.user-menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.3s;
    border-radius: 0.5rem;
    margin: 0.25rem;
}

.user-menu-item:hover {
    background: var(--bg-light);
}

.user-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.dashboard-container {
    min-height: calc(100vh - 80px);
}

.dashboard-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.dashboard-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.dashboard-welcome {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

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

.dashboard-search {
    margin-top: 1rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-light);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: all 0.3s;
}

.search-clear:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.dashboard-main {
    padding: 2rem 0 4rem;
}

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

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

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.section-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Quick Actions */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.quick-action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.quick-action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.quick-action-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.quick-action-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Categories */
.categories-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.category-item {
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-item.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
}

/* Shops Grid */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.shop-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.shop-card-image {
    width: 100%;
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.shop-image-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

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

.shop-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.shop-location {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

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

.stars {
    color: #fbbf24;
    font-size: 0.875rem;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-image-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

.service-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.375rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

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

.service-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.service-rating .stars {
    font-size: 0.75rem;
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard-nav-links {
        display: none;
    }

    .dashboard-header-content {
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .dashboard-welcome {
        font-size: 1.5rem;
    }

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

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

    .user-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header-actions {
        flex-direction: column;
        width: 100%;
    }

    .dashboard-header-actions .btn {
        width: 100%;
    }
}

/* Loading and Empty States */
.loading-state,
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.shops-grid .loading-state,
.shops-grid .empty-state,
.services-grid .loading-state,
.services-grid .empty-state {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.empty-state p {
    margin: 0;
    font-size: 1rem;
}

/* Shop and Service Images */
.shop-logo-img,
.service-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-card-image,
.service-card-image {
    overflow: hidden;
}

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

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

/* Legal pages (Privacy / Terms) - Enhanced Professional Design */
.legal-hero {
    background: linear-gradient(135deg, #14b8a6 0%, #6366f1 100%);
    color: white;
    padding: 100px 0 60px;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.legal-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.legal-hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.legal-section {
    padding: 40px 0 100px;
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-light) 100%);
    min-height: 100vh;
}

.legal-card {
    background: var(--bg-white);
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 4rem 4rem 4.5rem;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.legal-meta {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
    border-radius: 1rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(20, 184, 166, 0.1);
    color: var(--text-dark);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.legal-meta strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    min-width: 110px;
}

.legal-card > p:first-of-type {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-card h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    scroll-margin-top: 100px;
}

.legal-card h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.legal-card h2:hover::before {
    opacity: 1;
}

.legal-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 1rem;
}

.legal-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.25rem;
    background: var(--primary-color);
    border-radius: 2px;
}

.legal-card p {
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.legal-card ul {
    margin: 0 0 1.5rem 1.5rem;
    padding-left: 0.5rem;
}

.legal-card li {
    margin-bottom: 0.875rem;
    color: var(--text-dark);
    line-height: 1.75;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
}

.legal-card ul li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
}

.legal-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.legal-card a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-color);
}

.legal-callout {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.05) 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.1);
}

.legal-callout strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Table of Contents */
.legal-toc {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.06) 0%, rgba(99, 102, 241, 0.06) 100%);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 1rem;
    padding: 2.25rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(20, 184, 166, 0.08);
}

.legal-toc h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    padding: 0;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.legal-toc h3::before {
    display: none;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 2.5rem;
    column-rule: 1px solid rgba(20, 184, 166, 0.1);
}

.legal-toc li {
    margin-bottom: 0.875rem;
    padding-left: 0;
    break-inside: avoid;
    page-break-inside: avoid;
}

.legal-toc li::before {
    display: none;
}

.legal-toc li::marker {
    display: none;
}

.legal-toc a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0.75rem;
}

.legal-toc a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
    color: var(--primary-color);
    font-weight: 600;
}

.legal-toc a:hover {
    color: var(--primary-color);
    padding-left: 1.25rem;
}

.legal-toc a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Section dividers */
.legal-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 2.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-hero {
        padding: 80px 0 40px;
        margin-top: 73px;
    }

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

    .legal-hero-subtitle {
        font-size: 1.125rem;
    }

    .legal-section {
        padding: 30px 0 80px;
    }

    .legal-card {
        padding: 2.5rem 2rem 3rem;
        border-radius: 1.25rem;
        margin: 0 1rem;
        max-width: none;
    }

    .legal-meta {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .legal-meta strong {
        min-width: auto;
    }

    .legal-card h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .legal-card h3 {
        font-size: 1.125rem;
    }

    .legal-card > p:first-of-type {
        font-size: 1rem;
    }

    .legal-toc ul {
        columns: 1;
    }
}

@media (max-width: 640px) {
    .legal-card {
        padding: 2rem 1.5rem 2.5rem;
        border-radius: 1rem;
        margin: 0 0.75rem;
    }

    .legal-card h2 {
        font-size: 1.375rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .legal-card h3 {
        font-size: 1.0625rem;
        margin-top: 1.5rem;
    }

    .legal-card p,
    .legal-card li {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .legal-meta {
        font-size: 0.875rem;
        padding: 1rem;
    }

    .legal-callout {
        padding: 1.25rem;
    }
}

