
/* ============================================

   NeuraRealty - Real Estate Marketplace

   Uses NeuraWeb Theme System

   ============================================ */



.neurarealty-app {

    max-width: 1200px;

    margin: 0 auto;

}



/* Hero Section */

.realty-hero {

    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);

    border-radius: var(--radius-lg, 16px);

    padding: 48px;

    color: white;

    margin-bottom: 32px;

    position: relative;

    overflow: hidden;

}



.realty-hero::before {

    content: '';

    position: absolute;

    top: -50%;

    right: -20%;

    width: 60%;

    height: 200%;

    background: rgba(255,255,255,0.05);

    transform: rotate(15deg);

}



.realty-hero h1 {

    font-size: 36px;

    font-weight: 800;

    margin-bottom: 12px;

    position: relative;

}



.realty-hero p {

    font-size: 18px;

    opacity: 0.9;

    max-width: 600px;

    position: relative;

}



/* Stats Grid */

.realty-stats {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 32px;

}



.realty-stat {

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 24px;

    text-align: center;

}



.realty-stat-value {

    font-size: 32px;

    font-weight: 800;

    color: #2E7D32;

}



.realty-stat-label {

    font-size: 13px;

    color: var(--text-secondary);

    margin-top: 4px;

}



/* Sub-dApps Grid */

.sub-dapps-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 32px;

}



.sub-dapp-card {

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 24px;

    display: flex;

    gap: 16px;

    transition: all 0.2s;

}



.sub-dapp-card:hover {

    border-color: #2E7D32;

    transform: translateY(-2px);

}



.sub-dapp-icon {

    width: 56px;

    height: 56px;

    background: linear-gradient(135deg, #2E7D32, #1B5E20);

    border-radius: var(--radius-md, 12px);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    color: white;

    flex-shrink: 0;

}



.sub-dapp-content h3 {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 6px;

    color: var(--text-primary);

}



.sub-dapp-content p {

    font-size: 14px;

    color: var(--text-secondary);

    margin-bottom: 8px;

}



.sub-dapp-pricing {

    display: flex;

    gap: 12px;

    font-size: 12px;

}



.sub-dapp-pricing .our-price {

    color: var(--success, #10b981);

    font-weight: 600;

}



.sub-dapp-pricing .vs {

    color: var(--text-muted);

}



.sub-dapp-pricing .their-price {

    color: var(--error, #ef4444);

    text-decoration: line-through;

}



/* Listings Section */

.listings-section {

    background: var(--bg-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 24px;

    margin-bottom: 32px;

}



.listings-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}



.listings-header h2 {

    font-size: 20px;

    font-weight: 700;

    color: var(--text-primary);

}



.listing-card {

    display: flex;

    gap: 16px;

    padding: 16px;

    border: 1px solid var(--border-color);

    border-radius: var(--radius-sm, 10px);

    margin-bottom: 12px;

    transition: all 0.2s;

}



.listing-card:hover {

    border-color: #2E7D32;

    background: var(--bg-tertiary);

}



.listing-image {

    width: 120px;

    height: 90px;

    background: linear-gradient(135deg, #8b5cf6, #6d28d9);

    border-radius: var(--radius-sm, 8px);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

    flex-shrink: 0;

}



.listing-content {

    flex: 1;

}



.listing-badge {

    display: inline-block;

    background: rgba(46, 125, 50, 0.2);

    color: #2E7D32;

    font-size: 10px;

    font-weight: 600;

    padding: 3px 8px;

    border-radius: 4px;

    margin-bottom: 6px;

}



.listing-badge.rent {

    background: rgba(236, 72, 153, 0.2);

    color: #ec4899;

}



.listing-title {

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 4px;

    color: var(--text-primary);

}



.listing-price {

    font-size: 18px;

    font-weight: 700;

    color: #2E7D32;

}



.listing-meta {

    font-size: 12px;

    color: var(--text-muted);

    margin-top: 4px;

}



/* Coming Soon Banner */

.coming-soon-banner {

    background: var(--bg-tertiary);

    border: 1px dashed var(--border-color);

    border-radius: var(--radius-md, 12px);

    padding: 48px;

    text-align: center;

}



.coming-soon-banner i {

    font-size: 48px;

    color: var(--text-muted);

    margin-bottom: 16px;

}



.coming-soon-banner h3 {

    font-size: 20px;

    margin-bottom: 8px;

    color: var(--text-primary);

}



.coming-soon-banner p {

    color: var(--text-secondary);

    margin-bottom: 16px;

}



/* Responsive */

@media (max-width: 768px) {

    .realty-stats {

        grid-template-columns: repeat(2, 1fr);

    }

    

    .sub-dapps-grid {

        grid-template-columns: 1fr;

    }

    

    .realty-hero {

        padding: 32px 24px;

    }

    

    .realty-hero h1 {

        font-size: 28px;

    }

    

    .listing-card {

        flex-direction: column;

    }

    

    .listing-image {

        width: 100%;

        height: 120px;

    }

}




/* Header Styling */

.neurarealty-app .dapp-header {

    margin-bottom: 24px;

}



.neurarealty-app .dapp-title {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 8px;

}



.neurarealty-app .dapp-title i {

    font-size: 28px;

    color: #2E7D32;

}



.neurarealty-app .dapp-title h1 {

    font-size: 32px;

    font-weight: 800;

    color: var(--text-primary);

    margin: 0;

}



.neurarealty-app .dapp-badge {

    font-size: 11px;

    font-weight: 600;

    padding: 4px 10px;

    border-radius: 4px;

    text-transform: uppercase;

}



.neurarealty-app .dapp-badge.dev {

    background: rgba(59, 130, 246, 0.2);

    color: #3b82f6;

}



.neurarealty-app .dapp-tagline {

    font-size: 16px;

    color: var(--text-secondary);

    margin: 0;

    padding-left: 40px;

}

