﻿ .btn-primary {
    background: linear-gradient(135deg,var(--primary),var(--primary2));
    border: 0;
    box-shadow: 0 14px 38px rgba(109,94,246,.22);
    border-radius: 14px;
    padding: .85rem 1.2rem;
}

     .btn-primary:hover {
        filter: brightness(1.06);
    }

 .btn-outline-light {
    border-color: rgba(255,255,255,.22);
    color: #fff;
    border-radius: 14px;
    padding: .85rem 1.2rem;
}

     .btn-outline-light:hover {
        background: rgba(255,255,255,.10);
        border-color: rgba(255,255,255,.30);
        color: #fff;
    }

.card-glass {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.soft-panel {
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.hero {
    padding: 88px 0 56px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 4.7rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.08rem;
    color: var(--text-soft);
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    color: #fff;
    font-size: .93rem;
    margin-bottom: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--success);
}

.hero-image {
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(5,8,18,.18), rgba(5,8,18,.35));
}

.hero-floating {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: min(320px, calc(100% - 36px));
    padding: 16px;
    background: rgba(8,11,24,.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
}

.hero-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .45rem 0;
    color: var(--text-soft);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .hero-stat:last-child {
        border-bottom: 0;
    }

.search-card {
    margin-top: 24px;
    padding: 18px;
}

.form-control, .form-select {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: #fff !important;
    border-radius: 14px !important;
    padding: .9rem .95rem;
}

    .form-control::placeholder {
        color: rgba(255,255,255,.45);
    }

    .form-control:focus, .form-select:focus {
        background: rgba(255,255,255,.08) !important;
        border-color: rgba(138,124,255,.55) !important;
        box-shadow: 0 0 0 .25rem rgba(109,94,246,.18) !important;
    }

option {
    background: #11182b;
    color: #fff;
}

.section {
    padding: 34px 0;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 640px;
}

.apartment-card {
    overflow: hidden;
    height: 100%;
}

.apartment-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.price-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    font-size: .92rem;
    color: #fff;
}

.tiny-muted {
    color: var(--text-muted);
    font-size: .92rem;
}

.feature-card {
    padding: 22px;
    height: 100%;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(109,94,246,.22), rgba(138,124,255,.12));
    border: 1px solid rgba(109,94,246,.20);
    margin-bottom: 16px;
}

.review-card {
    padding: 22px;
    height: 100%;
}

.stars {
    color: var(--warning);
    letter-spacing: 1px;
    margin-bottom: .75rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    font-weight: 700;
}

.cta {
    padding: 26px;
    overflow: hidden;
    position: relative;
}

    .cta::after {
        content: "";
        position: absolute;
        right: -80px;
        top: -80px;
        width: 220px;
        height: 220px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(138,124,255,.18), transparent 70%);
        pointer-events: none;
    }



.hero-image {
    min-height: 520px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.apartment-image {
    height: 230px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
}

    .apartment-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@media (max-width: 991.98px) {
    .hero {
        padding-top: 70px;
    }

    .hero-image {
        min-height: 400px;
    }
}
