/* ===== ENHANCED HOMEPAGE STYLES - BUILDING ON app.css ===== */
/* This file extends and enhances the existing design system */

/* ===== HERO SECTION ENHANCEMENTS ===== */
.homepage-page .hero-section {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--dark-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

/* Enhanced floating shapes animation */
.homepage-page .floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.homepage-page .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite;
}

.homepage-page .shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.homepage-page .shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 15%;
    animation-delay: 2s;
}

.homepage-page .shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    33% { 
        transform: translateY(-20px) rotate(120deg) scale(1.1);
    }
    66% { 
        transform: translateY(10px) rotate(240deg) scale(0.9);
    }
}

/* Enhanced hero content */
.homepage-page .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding: 40px 20px;
}

.homepage-page .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #f8f9fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.homepage-page .hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ENHANCED SEARCH FORM ===== */
.homepage-page .hero-search {
    max-width: 800px;
    margin: 0 auto 60px;
}

.homepage-page .search-glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.homepage-page .search-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.homepage-page .search-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
}

.homepage-page .search-field,
.homepage-page .location-field {
    position: relative;
    flex: 1;
}

.homepage-page .search-input,
.homepage-page .location-select {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    font-size: 16px;
    color: var(--dark-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

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

.homepage-page .search-input:focus,
.homepage-page .location-select:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.homepage-page .search-icon,
.homepage-page .location-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    pointer-events: none;
    z-index: 2;
}

.homepage-page .search-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.homepage-page .search-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.homepage-page .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.homepage-page .search-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Quick filters enhancement */
.homepage-page .quick-filters {
    margin-top: 24px;
    text-align: center;
}

.homepage-page .filter-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.homepage-page .filter-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.homepage-page .filter-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.homepage-page .filter-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

/* ===== FLOATING STATS ENHANCEMENT ===== */
.homepage-page .floating-stats {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    z-index: 3;
}

.homepage-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.homepage-page .stats-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.homepage-page .stat-item {
    text-align: center;
    position: relative;
}

.homepage-page .stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
    line-height: 1;
}

.homepage-page .stat-label {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SECTIONS ENHANCEMENT ===== */
.homepage-page .section {
    position: relative;
    padding: 100px 0;
}

.homepage-page .section:nth-child(even) {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.homepage-page .section:nth-child(odd) {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
}

/* Add spacing for floating stats */
.homepage-page .featured-section {
    padding-top: 140px;
}

/* ===== ENHANCED SECTION HEADERS ===== */
.homepage-page .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.homepage-page .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.homepage-page .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.homepage-page .section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== ENHANCED BUSINESS GRID ===== */
.homepage-page .business-grid,
.homepage-page .featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Enhanced business cards */
.homepage-page .business-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--box-shadow);
    position: relative;
}

.homepage-page .business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
}

.homepage-page .business-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(231, 76, 60, 0.2);
}

.homepage-page .business-image-container {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
}

.homepage-page .business-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.homepage-page .business-card:hover .business-image {
    transform: scale(1.1) rotate(1deg);
}

.homepage-page .card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.homepage-page .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.homepage-page .featured-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.homepage-page .verified-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.homepage-page .new-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    animation: pulse 2s infinite;
}

.homepage-page .favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.homepage-page .favorite-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.homepage-page .favorite-btn svg {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.homepage-page .favorite-btn.active svg {
    color: #e74c3c;
    fill: currentColor;
}

/* Enhanced card content */
.homepage-page .card-content {
    padding: 24px;
}

.homepage-page .business-header {
    margin-bottom: 16px;
}

.homepage-page .business-name a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.homepage-page .business-name a:hover {
    color: var(--primary-color);
}

.homepage-page .business-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.homepage-page .rating-stars {
    display: flex;
    gap: 2px;
}

.homepage-page .rating-stars svg {
    width: 16px;
    height: 16px;
    color: #ffc107;
}

.homepage-page .rating-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.homepage-page .business-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.homepage-page .business-category,
.homepage-page .business-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.homepage-page .business-category svg,
.homepage-page .business-location svg {
    width: 16px;
    height: 16px;
    color: var(--gray-500);
    flex-shrink: 0;
}

.homepage-page .business-description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-page .business-actions {
    display: flex;
    gap: 12px;
}

.homepage-page .view-btn,
.homepage-page .book-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.homepage-page .view-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gray-700);
    border-color: rgba(0, 0, 0, 0.1);
}

.homepage-page .view-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
}

.homepage-page .book-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.homepage-page .book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    color: white;
}

/* ===== ENHANCED CATEGORIES GRID ===== */
.homepage-page .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.homepage-page .category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.homepage-page .category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.05), transparent);
    transition: left 0.6s ease;
}

.homepage-page .category-card:hover::before {
    left: 100%;
}

.homepage-page .category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(231, 76, 60, 0.2);
    color: var(--dark-color);
}

.homepage-page .category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    position: relative;
}

.homepage-page .category-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 14px;
    pointer-events: none;
}

.homepage-page .category-icon svg {
    color: white;
    z-index: 1;
    position: relative;
}

.homepage-page .category-content {
    flex: 1;
}

.homepage-page .category-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.homepage-page .category-count {
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 500;
}

.homepage-page .category-arrow {
    color: var(--gray-400);
    transition: all 0.3s ease;
    opacity: 0;
}

.homepage-page .category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(8px);
    color: var(--primary-color);
}

/* ===== ENHANCED CITIES GRID ===== */
.homepage-page .cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.homepage-page .city-card {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--box-shadow-lg);
}

.homepage-page .city-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    color: white;
}

.homepage-page .city-image {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.homepage-page .city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.homepage-page .city-card:hover .city-image img {
    transform: scale(1.1);
}

.homepage-page .city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: -1;
}

.homepage-page .city-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 1;
}

.homepage-page .city-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.homepage-page .city-count {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== RECENT BUSINESSES ENHANCEMENT ===== */
.homepage-page .recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.homepage-page .compact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--box-shadow);
}

.homepage-page .compact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.homepage-page .compact-card .card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.homepage-page .compact-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.homepage-page .compact-card:hover .card-image img {
    transform: scale(1.1);
}

.homepage-page .compact-card .card-content {
    padding: 20px;
}

.homepage-page .compact-card .business-name a {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.homepage-page .business-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    font-size: 13px;
    color: var(--gray-600);
}

/* ===== CTA SECTION ENHANCEMENT ===== */
.homepage-page .cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 25%, #2c3e50 75%, var(--dark-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.homepage-page .cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 73, 94, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite alternate;
    z-index: 0;
}

.homepage-page .cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.homepage-page .cta-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.homepage-page .cta-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.homepage-page .cta-title {
   font-size: clamp(2rem, 4vw, 3.5rem);
   font-weight: 900;
   margin-bottom: 20px;
   background: linear-gradient(135deg, #ffffff, #e74c3c);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   line-height: 1.2;
}

.homepage-page .cta-subtitle {
   font-size: clamp(1.1rem, 2.5vw, 1.4rem);
   color: rgba(255, 255, 255, 0.8);
   margin-bottom: 40px;
   line-height: 1.6;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
}

.homepage-page .cta-features {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 30px;
   margin-bottom: 50px;
}

.homepage-page .feature-item {
   display: flex;
   align-items: center;
   gap: 12px;
   justify-content: center;
   padding: 20px;
   background: rgba(255, 255, 255, 0.05);
   border-radius: 16px;
   border: 1px solid rgba(255, 255, 255, 0.1);
   transition: all 0.3s ease;
}

.homepage-page .feature-item:hover {
   background: rgba(255, 255, 255, 0.1);
   transform: translateY(-4px);
}

.homepage-page .feature-icon {
   font-size: 24px;
   width: 32px;
   height: 32px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(231, 76, 60, 0.2);
   border-radius: 8px;
   flex-shrink: 0;
}

.homepage-page .cta-actions {
   display: flex;
   gap: 20px;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
}

.homepage-page .cta-btn.primary {
   background: linear-gradient(135deg, #e74c3c, #c0392b);
   border: none;
   padding: 16px 32px;
   font-size: 16px;
   font-weight: 600;
   border-radius: 16px;
   transition: all 0.3s ease;
   box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
   color: white;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   gap: 8px;
}

.homepage-page .cta-btn.primary:hover {
   transform: translateY(-3px);
   box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5);
   color: white;
}

.homepage-page .cta-btn.secondary {
   background: transparent;
   border: 2px solid rgba(255, 255, 255, 0.3);
   color: white;
   padding: 14px 30px;
   font-size: 16px;
   font-weight: 600;
   border-radius: 16px;
   transition: all 0.3s ease;
   text-decoration: none;
   display: inline-flex;
   align-items: center;
   gap: 8px;
}

.homepage-page .cta-btn.secondary:hover {
   background: rgba(255, 255, 255, 0.1);
   border-color: rgba(255, 255, 255, 0.5);
   transform: translateY(-2px);
   color: white;
}

/* ===== RESPONSIVE DESIGN ENHANCEMENTS ===== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
   .homepage-page .search-container {
       grid-template-columns: 2fr 1fr auto;
       gap: 16px;
   }
   
   .homepage-page .search-btn {
       width: auto;
       padding: 16px 32px;
       min-width: 140px;
   }
   
   .homepage-page .quick-filters {
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 16px;
       margin-top: 24px;
   }
   
   .homepage-page .filter-label {
       margin-bottom: 0;
   }
   
   .homepage-page .filter-tags {
       justify-content: flex-start;
   }
   
   .homepage-page .stats-grid {
       padding: 40px;
   }
   
   .homepage-page .categories-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .homepage-page .business-info {
       flex-direction: row;
       justify-content: space-between;
       align-items: center;
   }
   
   .homepage-page .business-category,
   .homepage-page .business-location {
       margin: 0;
   }
   
   .homepage-page .recent-grid {
       grid-template-columns: repeat(2, 1fr);
   }
   
   .homepage-page .cta-actions {
       flex-direction: row;
       justify-content: center;
   }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
   .homepage-page .hero-section {
       min-height: 100vh;
   }
   
   .homepage-page .search-container {
       grid-template-columns: 3fr 2fr auto;
   }
   
   .homepage-page .categories-grid {
       grid-template-columns: repeat(4, 1fr);
   }
   
   .homepage-page .business-grid,
   .homepage-page .featured-grid {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .homepage-page .recent-grid {
       grid-template-columns: repeat(4, 1fr);
   }
   
   .homepage-page .cities-grid {
       grid-template-columns: repeat(3, 1fr);
   }
   
   .homepage-page .cta-features {
       grid-template-columns: repeat(3, 1fr);
   }
}

/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
   .homepage-page .featured-grid {
       grid-template-columns: repeat(4, 1fr);
   }
   
   .homepage-page .categories-grid {
       grid-template-columns: repeat(4, 1fr);
   }
}

/* Mobile Responsive (max-width: 767px) */
@media (max-width: 767px) {
   .homepage-page .hero-section {
       min-height: 80vh;
       padding: 40px 0;
   }
   
   .homepage-page .search-glass-card {
       padding: 24px;
       border-radius: 20px;
   }
   
   .homepage-page .search-input,
   .homepage-page .location-select {
       padding: 14px 16px 14px 44px;
       font-size: 15px;
   }
   
   .homepage-page .search-btn {
       padding: 14px 20px;
       font-size: 15px;
   }
   
   .homepage-page .stats-grid {
       grid-template-columns: 1fr;
       gap: 20px;
       padding: 24px;
       margin: 0 16px;
   }
   
   .homepage-page .stat-item {
       padding: 16px 0;
       border-bottom: 1px solid rgba(0, 0, 0, 0.08);
   }
   
   .homepage-page .stat-item:last-child {
       border-bottom: none;
   }
   
   .homepage-page .section {
       padding: 60px 0;
   }
   
   .homepage-page .featured-section {
       padding-top: 120px;
   }
   
   .homepage-page .section-header {
       margin-bottom: 40px;
   }
   
   .homepage-page .business-grid,
   .homepage-page .featured-grid {
       grid-template-columns: 1fr;
       gap: 20px;
   }
   
   .homepage-page .categories-grid {
       grid-template-columns: 1fr;
       gap: 16px;
   }
   
   .homepage-page .category-card {
       padding: 24px 20px;
       flex-direction: column;
       text-align: center;
       gap: 16px;
   }
   
   .homepage-page .category-icon {
       width: 56px;
       height: 56px;
       font-size: 24px;
   }
   
   .homepage-page .cities-grid {
       grid-template-columns: 1fr;
       gap: 20px;
   }
   
   .homepage-page .recent-grid {
       grid-template-columns: 1fr;
       gap: 16px;
   }
   
   .homepage-page .business-info {
       flex-direction: column;
       gap: 8px;
       align-items: flex-start;
   }
   
   .homepage-page .business-actions {
       flex-direction: column;
       gap: 8px;
   }
   
   .homepage-page .cta-section {
       padding: 80px 0;
   }
   
   .homepage-page .cta-glass-card {
       padding: 40px 24px;
       border-radius: 24px;
   }
   
   .homepage-page .cta-features {
       grid-template-columns: 1fr;
       gap: 20px;
   }
   
   .homepage-page .cta-actions {
       flex-direction: column;
       gap: 16px;
   }
   
   .homepage-page .cta-btn.primary,
   .homepage-page .cta-btn.secondary {
       width: 100%;
       justify-content: center;
       max-width: 280px;
   }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
   .homepage-page .container {
       padding: 0 16px;
   }
   
.homepage-page .hero-section {
    min-height: 95vh;
    padding: 40px 0;
    padding-top: 140px;
  }
   
   .homepage-page .hero-content {
       padding: 20px 16px;
   }
   
   .homepage-page .search-glass-card {
       padding: 20px;
       border-radius: 16px;
   }
   
   .homepage-page .floating-stats {
       bottom: -400px;
   }
   
   .homepage-page .stats-grid {
       padding: 20px;
       border-radius: 20px;
   }
   
   .homepage-page .business-card {
       border-radius: 16px;
   }
   
   .homepage-page .card-content {
       padding: 20px;
   }
   
   .homepage-page .category-card {
       padding: 20px 16px;
       border-radius: 16px;
       flex-direction: inherit;
   }
   
   .homepage-page .featured-section {
    padding-top: 0px;
  }
   
   .homepage-page .category-icon {
       width: 48px;
       height: 48px;
       font-size: 20px;
       border-radius: 12px;
   }
   
   .homepage-page .city-content {
       padding: 24px;
   }
   
   .homepage-page .city-name {
       font-size: 1.25rem;
   }
   
   .homepage-page .compact-card .card-content {
       padding: 16px;
   }
   
   .business-info {
  padding: 0px;
    }
    
    .homepage-page .business-info {
  margin-bottom: 0px;
  flex-direction: inherit;
    }
    
    .business-category {

  margin-bottom: 0px;
    }
}

/* ===== INTERSECTION OBSERVER ANIMATIONS ===== */
.homepage-page .fade-in-up {
   opacity: 0;
   transform: translateY(40px);
   transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-page .fade-in-up.visible {
   opacity: 1;
   transform: translateY(0);
}

.homepage-page .scale-in {
   opacity: 0;
   transform: scale(0.8);
   transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-page .scale-in.visible {
   opacity: 1;
   transform: scale(1);
}

.homepage-page .slide-in-left {
   opacity: 0;
   transform: translateX(-40px);
   transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-page .slide-in-left.visible {
   opacity: 1;
   transform: translateX(0);
}

.homepage-page .slide-in-right {
   opacity: 0;
   transform: translateX(40px);
   transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-page .slide-in-right.visible {
   opacity: 1;
   transform: translateX(0);
}

/* ===== LOADING STATES ===== */
.homepage-page .skeleton {
   background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
   background-size: 200% 100%;
   animation: loading 1.5s infinite;
   border-radius: 8px;
}

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

.homepage-page .loading-card {
   background: rgba(255, 255, 255, 0.95);
   border-radius: 20px;
   padding: 24px;
   box-shadow: var(--box-shadow);
}

.homepage-page .skeleton-image {
   width: 100%;
   height: 200px;
   margin-bottom: 16px;
   border-radius: 12px;
}

.homepage-page .skeleton-text {
   height: 16px;
   margin-bottom: 8px;
   border-radius: 4px;
}

.homepage-page .skeleton-text.wide {
   width: 80%;
}

.homepage-page .skeleton-text.medium {
   width: 60%;
}

.homepage-page .skeleton-text.narrow {
   width: 40%;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.homepage-page .sr-only {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}

.homepage-page .skip-link {
   position: absolute;
   top: -40px;
   left: 6px;
   background: var(--primary-color);
   color: white;
   padding: 8px;
   text-decoration: none;
   border-radius: 4px;
   z-index: 1000;
   transition: top 0.3s;
}

.homepage-page .skip-link:focus {
   top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
   .homepage-page .business-card,
   .homepage-page .category-card,
   .homepage-page .city-card {
       border: 2px solid var(--dark-color);
   }
   
   .homepage-page .search-glass-card {
       border: 2px solid rgba(255, 255, 255, 0.8);
   }
   
   .homepage-page .stats-grid {
       border: 2px solid rgba(0, 0, 0, 0.2);
   }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
   .homepage-page * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
   
   .homepage-page .floating-shapes {
       display: none;
   }
}

/* ===== PRINT STYLES ===== */
@media print {
   .homepage-page .hero-section {
       min-height: auto;
       background: none !important;
       color: black !important;
       page-break-inside: avoid;
   }
   
   .homepage-page .floating-shapes,
   .homepage-page .floating-stats {
       display: none !important;
   }
   
   .homepage-page .business-card,
   .homepage-page .category-card {
       break-inside: avoid;
       box-shadow: none !important;
       border: 1px solid #ddd !important;
   }
   
   .homepage-page .section {
       padding: 40px 0 !important;
   }
}