/* ===== HOME PAGE SPECIFIC STYLES ===== */

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 68px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1600&q=80') center/cover;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.92) 0%, rgba(30, 10, 60, 0.85) 50%, rgba(10, 10, 20, 0.88) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: white;
    max-width: 760px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
}

/* SEARCH BAR */
.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    gap: 0;
    width: 100%;
    max-width: 820px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem var(--space-md);
    gap: var(--space-sm);
    min-width: 0;
}

.search-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.search-input option {
    background: var(--dark-3);
    color: var(--text);
}

.search-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.search-btn {
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
}

/* TRUST */
.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.trust-item span {
    font-size: 1rem;
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-dot {
    width: 6px;
    height: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scrollDown 1.8s ease infinite;
}

@keyframes scrollDown {
    0% {
        top: 4px;
        opacity: 1
    }

    100% {
        top: 18px;
        opacity: 0
    }
}

/* STATS */
.stats-section {
    padding: var(--space-xl) 0;
    background: var(--dark-2);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    border-right: 1px solid var(--border-subtle);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--text);
    line-height: 1;
}

.stat-number span {
    color: var(--primary-light);
    font-size: 2rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: var(--space-xs);
}

/* HOW IT WORKS */
.how-it-works {
    background: var(--dark-2);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: calc(16.66% + 1.5rem);
    right: calc(16.66% + 1.5rem);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition);
}

.step-card:hover {
    border-color: var(--border);
    transform: translateY(-6px);
}

.step-number {
    position: absolute;
    top: -14px;
    left: var(--space-xl);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
}

.step-icon {
    font-size: 2.5rem;
    margin: var(--space-md) 0;
}

.step-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CATEGORIES */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform var(--transition);
}

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

.category-card:hover .category-overlay {
    background: rgba(10, 10, 20, 0.35);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, 0.55);
    transition: background var(--transition);
}

.category-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-sm);
}

.category-icon {
    font-size: 2rem;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* HOST CTA */
.host-cta {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.host-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.host-cta-text h2 {
    font-size: 2.2rem;
    margin: var(--space-md) 0;
}

.host-cta-text p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.host-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.host-benefits li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.host-income-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(124, 58, 237, 0.1);
}

.income-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
}

.income-amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin: var(--space-sm) 0;
}

.income-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.income-based {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: var(--space-lg);
}

.income-bar {
    height: 6px;
    background: var(--dark-4);
    border-radius: 3px;
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.income-bar-fill {
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 3px;
    animation: growBar 2s ease 0.5s both;
}

@keyframes growBar {
    from {
        width: 0
    }

    to {
        width: 72%
    }
}

.income-details {
    display: flex;
    justify-content: space-between;
}

.income-details div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.income-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.income-details strong {
    font-size: 0.95rem;
}

/* TESTIMONIALS */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.testimonial-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media(max-width:768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

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

    .steps-grid::before {
        display: none;
    }

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

    .host-cta-content {
        grid-template-columns: 1fr;
    }

    .search-bar {
        flex-direction: column;
        gap: 0;
    }

    .search-divider {
        width: 100%;
        height: 1px;
    }

    .search-field {
        padding: var(--space-sm) var(--space-md);
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        margin: var(--space-xs);
        width: calc(100% - var(--space-sm));
    }
}