:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --background-color: #f0f2f5;
    --text-color: #2b2d42;
    --text-light: #8d99ae;
    --white: #ffffff;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --card-border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.profile-header {
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px 20px;
    border-radius: 15px;
    color: var(--white);
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    margin-bottom: 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.pref-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pref-item {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.top-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.key {
    font-size: 16px;
}

.tenant-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.highlight-tag {
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.highlight-tag:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.profile-section h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
}

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

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card, .highlight-card {
    padding: 20px;
    border-radius: 15px;
    color: var(--white);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover, .highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-card h3, .highlight-card i {
    font-size: 18px;
    margin-bottom: 10px;
}

.stat-value, .highlight-card p {
    font-size: 24px;
    font-weight: 700;
}

.gradient-1 { background: linear-gradient(135deg, #4361ee, #3a0ca3); }
.gradient-2 { background: linear-gradient(135deg, #f72585, #b5179e); }
.gradient-3 { background: linear-gradient(135deg, #4cc9f0, #4361ee); }
.gradient-4 { background: linear-gradient(135deg, #7209b7, #3a0ca3); }
.gradient-5 { background: linear-gradient(135deg, #0077b6, #00b4d8); }
.gradient-6 { background: linear-gradient(135deg, #023e8a, #0077b6); }

.description p {
    margin-bottom: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.review-card {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px;
    max-height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.review-card.expanded {
    max-height: none;
    z-index: 10;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header h4 {
    font-size: 18px;
    color: var(--primary-color);
}

.tenant-rating {
    font-size: 20px;
}

.review-content {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.review-card.expanded .review-content {
    -webkit-line-clamp: unset;
    display: block;
}

.did-you-know-container {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 800px;
}

.did-you-know-container h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.did-you-know-container ul {
    list-style-type: none;
    margin-bottom: 20px;
}

.did-you-know-container li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.did-you-know-container li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--accent-color);
}

.get-started-button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.get-started-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .profile-header {
        padding: 30px 15px;
    }

    h1 {
        font-size: 28px;
    }

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

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

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

    .review-card {
        transform: none !important;
    }

    .stat-card, .highlight-card {
        padding: 15px;
    }

    .stat-value, .highlight-card p {
        font-size: 20px;
    }

    .did-you-know-container {
        padding: 20px;
    }

    .get-started-button {
        width: 100%;
    }
}