/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Monimas Brand Colors */
    --coral-red: #F03A5F;
    --deep-purple: #3F2E63;
    --primary-blue: #1173d4;
    --secondary-gray: #f0f2f4;
    --text-primary: #111418;
    --text-secondary: #617589;
    --bg-light: #f0f2f4;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.logo-img {
    height: 63px;
    width: auto;
}

.tagline {
    flex: 1;
    color: var(--deep-purple);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 1.5rem;
    text-align: center;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.btn-buyer {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-buyer:hover {
    background: #1e5bb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 125, 233, 0.3);
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    flex: 1;
    max-width: 400px;
    margin: 0 1.5rem;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 115, 212, 0.1);
}

.search-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.search-box:focus-within .search-icon {
    color: var(--primary-blue);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* Search Results Page */
.search-page {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    background: var(--bg-light);
}

.search-header {
    margin-bottom: 2rem;
}

.search-header h1 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.search-header p {
    color: var(--text-secondary);
}

.search-query {
    font-weight: 600;
    color: var(--primary-blue);
}

.search-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip:hover {
    border-color: var(--primary-blue);
}

.filter-chip.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.category-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.category-chip {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.category-chip:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.category-chip.active {
    background: var(--deep-purple);
    border-color: var(--deep-purple);
    color: var(--white);
}

/* City Filters */
.city-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: center;
}

.filter-section-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.city-chip {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.city-chip:hover {
    border-color: var(--coral-red);
    color: var(--coral-red);
}

.city-chip.active {
    background: var(--coral-red);
    border-color: var(--coral-red);
    color: var(--white);
}

/* Profile Cards Grid */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.profile-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.profile-banner {
    height: 100px;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--coral-red) 100%);
    position: relative;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--white);
    position: absolute;
    bottom: -40px;
    left: 20px;
    background: var(--bg-light);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-secondary);
    background: var(--bg-light);
}

.profile-content {
    padding: 50px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wholesaler-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    background: var(--deep-purple);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.profile-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.profile-location-clickable {
    cursor: pointer;
    transition: all 0.2s;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 6px;
}

.profile-location-clickable:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.location-expand-icon {
    margin-left: 0.25rem;
    opacity: 0.5;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-radius: 12px;
}

/* Product Photos Thumbnails */
.profile-photos {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.profile-photos::-webkit-scrollbar {
    height: 4px;
}

.profile-photos::-webkit-scrollbar-track {
    background: transparent;
}

.profile-photos::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.profile-photo-thumb {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.profile-photo-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 10;
}

@media (max-width: 640px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

.profile-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-profile {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-profile-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-profile-primary:hover {
    background: #1e5bb8;
}

.btn-profile-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
}

.btn-profile-secondary:hover {
    background: var(--border-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--coral-red) 100%);
    color: var(--white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-image {
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.app-badge {
    height: 50px;
    transition: transform 0.3s;
}

.app-badge:hover {
    transform: scale(1.05);
}

.buyer-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.buyer-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.hero-image {
    text-align: center;
}

.preview-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Hero CTA */
.hero-cta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.btn-cta {
    background: var(--white);
    color: var(--deep-purple);
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f8f8f8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* How it Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .app-badges {
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Live Transaction Ticker in Hero */
.live-ticker {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 400px;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: tickerPulse 1.5s ease-in-out infinite;
}

@keyframes tickerPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.ticker-item {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    min-height: 20px;
}

.ticker-loading {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 8px;
    animation: tickerSlideIn 0.4s ease-out;
}

@keyframes tickerSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ticker-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.9rem;
}

.ticker-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.ticker-amount {
    font-weight: 700;
    color: #fbbf24;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: auto;
}

/* Ticker responsive */
@media (max-width: 640px) {
    .live-ticker {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        max-width: none;
    }

    .ticker-content {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ticker-amount {
        margin-left: 0;
    }
}

/* Pre-Registration Section */
.pre-registration {
    padding: 80px 0;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--white);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(17, 115, 212, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.phone-input-container {
    display: flex;
    align-items: stretch;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    background: var(--border-color);
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.phone-input-container input {
    border-radius: 0 8px 8px 0;
    flex: 1;
}

.input-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--coral-red) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(63, 46, 99, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 968px) {
    .header .container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .search-box {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-image {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .app-badges {
        justify-content: center;
    }

    .live-ticker {
        margin-left: auto;
        margin-right: auto;
    }

    .nav {
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tagline {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .app-badges {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .features-grid,
    .steps {
        grid-template-columns: 1fr;
    }
}

/* Locations Modal */
.locations-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.locations-modal.active {
    opacity: 1;
    visibility: visible;
}

.locations-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.locations-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 450px;
    width: calc(100% - 32px);
    max-height: calc(100vh - 64px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.locations-modal.active .locations-modal-content {
    transform: translateY(0);
}

.locations-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.locations-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.locations-modal-header h3 svg {
    color: var(--coral-red);
}

.locations-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.locations-modal-close:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.locations-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.location-item {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.location-row:last-child {
    margin-bottom: 0;
}

.location-row svg {
    flex-shrink: 0;
    color: var(--text-secondary);
    margin-top: 2px;
}

.location-row span,
.location-row a {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.location-row a {
    color: var(--primary-blue);
    text-decoration: none;
}

.location-row a:hover {
    text-decoration: underline;
}

/* Wholesaler App Notice */
.wholesaler-app-notice {
    text-align: center;
    padding: 2rem 1rem;
}

.wholesaler-app-notice svg {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.wholesaler-app-notice p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.wholesaler-app-notice .wholesaler-app-cta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-app-download {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-app-download:hover {
    background: #1e5bb8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 125, 233, 0.3);
}

/* Profile Rating */
.profile-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.profile-rating-clickable {
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.profile-rating-clickable:hover {
    background: rgba(245, 158, 11, 0.1);
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.rating-value {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f59e0b;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Reviews Modal */
.reviews-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.reviews-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.reviews-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.reviews-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.reviews-modal-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.reviews-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.reviews-modal-close:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.reviews-modal-summary {
    padding: 1rem 1.25rem;
    background: rgba(245, 158, 11, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.summary-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-average {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
}

.summary-stars {
    display: flex;
    gap: 2px;
}

.summary-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reviews-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

/* Review Card */
.review-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.review-card:last-child {
    margin-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar span {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.review-avatar.avatar-anonymous {
    background: #e5e7eb;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.review-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-customer {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.badge-seller {
    background: rgba(17, 115, 212, 0.1);
    color: #1173d4;
}

.badge-wholesaler {
    background: rgba(63, 46, 99, 0.1);
    color: #3F2E63;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 0.5rem;
}

.review-comment {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
