@font-face {
    font-family: 'Genty';
    src: url('GentyDemo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Apple-Inspired Color Palette */
    --accent: #FF8C00;
    --accent-hover: #e67e00;
    --accent-light: rgba(255, 140, 0, 0.08);
    --bg-primary: #f5f5f7;
    --bg-white: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #6e6e73;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-logo: 'Genty', cursive;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 5rem 1rem;
    --border-radius-sm: 12px;
    --border-radius-card: 16px;
    --border-radius-lg: 20px;
    --btn-radius: 980px;
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
}

body {
    position: relative;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========== Utilities ========== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--btn-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    min-width: 160px;
    text-align: center;
    letter-spacing: -0.01em;
}

.btn-primary {
    background-color: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #333;
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ========== Header / Frosted Glass Nav ========== */
header {
    background: #FFFFFF;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 1.75rem;
    color: var(--text-primary);
    letter-spacing: 0;
    line-height: 1;
}

.logo-dot {
    color: var(--accent);
    font-family: var(--font-logo);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-primary);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

/* ========== Hero Section ========== */
.hero {
    padding: 6rem 0 3rem;
    text-align: center;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Dynamic Art Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    /* Increased blur significantly for smoother blending */
    z-index: 0;
    pointer-events: none;
}

.blob-orange {
    width: 450px;
    /* Made slightly larger to diffuse the color */
    height: 450px;
    background: var(--accent);
    /* Orange */
    top: -5%;
    left: calc(50% - 600px);
    opacity: 0.35;
    /* Lowered opacity */
    /* Positioning to the left of the 800px center content */
    animation-delay: 0s;
}

.blob-green {
    width: 400px;
    height: 400px;
    background: #22c55e;
    /* Vibrant Apple-like Green */
    bottom: -5%;
    right: calc(50% - 550px);
    opacity: 0.25;
    /* Lowered opacity */
    /* Positioning to the right of the center */
    animation-delay: -7s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, -60px) scale(1.1);
    }
}

@media (max-width: 768px) {
    .blob-orange {
        left: -100px;
        width: 250px;
        height: 250px;
    }

    .blob-green {
        right: -50px;
        width: 200px;
        height: 200px;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    /* Massively scaled up the quote size */
    line-height: 1.15;
    margin-bottom: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text-primary);
    font-style: italic;
}

.hero p {
    font-size: 1.45rem;
    line-height: 1.8;
    color: #515154;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========== Section Titles ========== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
    display: inline-block;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
}

/* ========== Features/Value Prop ========== */
.features {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius-card);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* ========== Listings ========== */
.listings {
    padding: 0 1rem 5rem;
    position: relative;
    background: radial-gradient(circle at 50% 10%, rgba(255, 140, 0, 0.04) 0%, transparent 60%);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.listing-card {
    border-radius: var(--border-radius-card);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    /* Slightly deeper box-shadow */
}

.listing-image {
    height: 276px;
    /* Increased height by ~15% from 240px */
    width: 100%;
    background-color: #ffffff;
    /* Solid white background for the image */
    position: relative;
    overflow: hidden;
    padding: 20px;
    /* Increased internal breathing room */
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    /* Subtle separator */
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: transparent;
}

.listing-card:hover .listing-image img {
    transform: scale(1.05);
    /* Extra subtle pop alongside the 15% image size increase */
}

.price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 0.4rem 0.85rem;
    font-weight: 800;
    /* Increased font-weight to bold */
    font-size: 1.1rem;
    /* Increased size for primary price */
    border-radius: var(--btn-radius);
}

.listing-details {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.listing-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #b35200;
    /* Darkened from var(--accent) for contrast */
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 800;
}

.listing-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
    /* Forces consistent title space */
}

.listing-location {
    color: #000000;
    font-size: 0.85rem;
}

/* ========== Footer ========== */
footer {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 4rem 1rem 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.footer-col h4 {
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

/* ========== Page Hero (subpages) ========== */
.page-hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background-color: var(--bg-primary);
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ========== Forms ========== */
.form-section,
.auth-section {
    padding: 3rem 0 6rem;
}

.listing-form,
.auth-box {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-white);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.auth-box {
    text-align: center;
}

.auth-box h1 {
    margin-bottom: 0.5rem;
}

.auth-box>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-family: var(--font-main);
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.15);
    background: var(--bg-white);
}

/* ========== Categories ========== */
.categories-section {
    padding: 0 0 6rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: block;
    background: var(--bg-white);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 2.5rem;
    text-align: center;
    border-radius: var(--border-radius-card);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-card:hover h3 {
    color: var(--accent);
}

.category-card:hover p {
    color: var(--text-primary);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== Careers ========== */
.careers-section {
    padding: 0 0 6rem;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: var(--bg-white);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    border-radius: var(--border-radius-card);
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.job-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.job-location {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Pricing Chips for Listing Cards */
.pricing-chips-container {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 4px;
    padding-right: 0.5rem;
    margin-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pricing-chips-container::-webkit-scrollbar {
    display: none;
}

.pricing-chip {
    flex-shrink: 0;
    background: #f5f5f7;
    border: 1px solid transparent;
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    user-select: none;
}

.pricing-chip:not(.active):hover {
    background: #ebebeb;
}

.pricing-chip.active {
    background: rgba(255, 140, 0, 0.1);
    border-color: #FF8C00;
    color: #FF8C00;
}

.pricing-chip-green {
    background: #d1fae5;
    color: #065f46;
    border-color: transparent;
}

.pricing-chip-green:not(.active):hover {
    background: #a7f3d0;
}

.pricing-chip-green.active {
    background: #059669;
    color: #ffffff;
    border-color: #047857;
}

/* ========== Dashboard & Chat Items ========== */
.dashboard-card {
    background: var(--bg-white);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 0, 0, 0.12);
}

/* ========== Image Upload ========== */
.image-upload-area {
    border: 2px dashed rgba(0, 0, 0, 0.12);
    border-radius: var(--border-radius-card);
    padding: 1.5rem;
    text-align: center;
    background: var(--bg-primary);
    transition: var(--transition);
}

.image-upload-area:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 2rem;
}

.upload-icon {
    font-size: 2.5rem;
}

.upload-placeholder p {
    font-weight: 500;
    margin: 0;
}

.upload-placeholder small {
    color: var(--text-secondary);
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.preview-image-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.preview-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--text-primary);
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.remove-image:hover {
    background: #e00;
    transform: scale(1.1);
}

/* ========== Scroll-Reveal Animations ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale-in variant (hero, large elements) */
.reveal-scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Slide-from-left variant */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-from-right variant */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-scale,
    .reveal-left,
    .reveal-right {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ========== Hamburger Menu ========== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== Mobile Navigation ========== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--accent);
}

.mobile-nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: var(--text-primary);
    color: white;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .hero {
        padding: 5rem 0 1.5rem !important;
    }

    .hero h1 {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1.35rem;
        margin-bottom: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .listings {
        padding: 0 0.5rem 3rem;
    }

    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .listing-card {
        background: rgba(255, 255, 255, 0.15);
        /* Even clearer on mobile */
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
    }

    .listing-image {
        height: 220px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    footer {
        padding: 3rem 1rem 2rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    header {
        padding: 0.75rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .page-hero {
        padding: 3rem 0 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    /* Forms on mobile */
    .listing-form,
    .auth-box {
        padding: 1.75rem;
        border-radius: var(--border-radius-card);
    }

    .form-section,
    .auth-section {
        padding: 2rem 0 4rem;
    }

    /* Categories on mobile */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    /* Better tap targets globally */
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ========== Phone (≤480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 2.5rem 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .listing-image {
        height: 200px;
        padding: 12px;
    }

    .listing-details {
        padding: 1rem 0.85rem;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }

    .page-hero p {
        font-size: 0.85rem;
    }

    footer {
        padding: 2.5rem 0.75rem 1.5rem;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    /* Scroll-reveal: slightly less offset on small screens */
    .reveal {
        transform: translateY(30px);
    }

    .reveal-left {
        transform: translateX(-25px);
    }

    .reveal-right {
        transform: translateX(25px);
    }
}

/* ========== Infinite Scroll Ticker ========== */
@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    animation: ticker 60s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

/* ========== Wanted Banner ========== */
.wanted-banner-inner {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.5rem;
    border-radius: var(--btn-radius);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    max-width: 100%;
    border: 1px solid var(--border-color);
    width: auto;
}

.wanted-label-text {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    font-size: 0.9rem;
}

.wanted-grid-wrapper {
    display: flex;
    gap: 0.75rem;
    overflow: hidden;
    padding: 2px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    flex: 1;
}

.wanted-request-btn {
    background: var(--accent);
    color: white;
    border-radius: var(--btn-radius);
    white-space: nowrap;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.wanted-request-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .wanted-banner-inner {
        flex-direction: column;
        border-radius: var(--border-radius-lg);
        padding: 1.5rem;
        width: 100%;
        display: flex;
    }

    .wanted-label-text {
        text-align: center;
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }

    .wanted-grid-wrapper {
        width: 100%;
        margin-bottom: 1rem;
    }

    .wanted-request-btn {
        width: 100%;
        padding: 0.85rem;
        font-size: 0.95rem;
    }
}

/* ========== Skeleton Loaders ========== */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #eee 0px, #e0e0e0 40px, #eee 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: var(--border-radius-sm);
}

.skeleton-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.skeleton-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #eee 0px, #e0e0e0 40px, #eee 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite linear;
}

.skeleton-text {
    height: 16px;
    margin: 8px 16px;
    background: linear-gradient(90deg, #eee 0px, #e0e0e0 40px, #eee 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: var(--border-radius-sm);
}

.skeleton-text.short {
    width: 40%;
}

.skeleton-text.medium {
    width: 70%;
}

/* ========== Image Loading ========== */
.listing-image img {
    will-change: opacity;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.listing-image img.fade-in-loading {
    opacity: 0;
}

.listing-image img.fade-in-loading.loaded {
    opacity: 1;
}

/* ========== Global Feedback Widget ========== */
.feedback-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--bg-white);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 9999;
    transition: var(--transition);
}

/* Adjust feedback button on mobile to avoid overlapping the sticky rent footer */
@media (max-width: 768px) {
    .feedback-btn {
        bottom: 5.5rem;
        right: 1.25rem;
    }
}

.feedback-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
}

.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.feedback-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.feedback-modal {
    background: var(--bg-white);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feedback-modal-overlay.active .feedback-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.feedback-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.feedback-modal-close:hover {
    color: var(--text-primary);
}

.feedback-modal h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.feedback-modal p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feedback-success-msg {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.feedback-success-msg.active {
    display: block;
}

.feedback-success-msg .success-icon {
    font-size: 3rem;
    color: #34d399;
    margin-bottom: 1rem;
}