* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #172033;
    background: #f6f8fb;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
.nav {
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #e7eaf0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav a {
    margin-left: 20px;
}

.brand {
    font-weight: 800;
    font-size: 21px !important;
    margin-left: 0 !important;
}

/* Buttons */
.btn,
button {
    display: inline-block;
    background: #111827;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
}

.btn.small {
    padding: 9px 14px;
}

.btn.secondary {
    background: #eef1f5;
    color: #222;
    margin-top: 8px;
    text-align: center;
}

/* Hero */
.hero {
    min-height: 470px;
    display: flex;
    align-items: center;
    padding: 70px 8%;
    background: linear-gradient(135deg, #eef2ff, #fff);
}

.hero > div {
    max-width: 760px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.05;
    margin: 16px 0;
}

.hero p {
    font-size: 19px;
    color: #5c667a;
    max-width: 620px;
}

/* Sections */
.section {
    padding: 60px 6%;
    max-width: 1300px;
    margin: auto;
}

.narrow {
    max-width: 900px;
}

.section h1 {
    font-size: 40px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.steps > div,
.card {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(20, 30, 50, 0.04);
}

.steps b {
    font-size: 14px;
    color: #6875f5;
}

.steps h3 {
    margin-bottom: 8px;
}

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

/* Store Cards */
.store-card {
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.2s;
}

.store-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(20, 30, 50, 0.08);
}

.store-card img,
.placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e8ecf3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a93a5;
}

.pad {
    padding: 18px;
}

.pill {
    display: inline-block;
    background: #eef1ff;
    color: #4b55b5;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

/* Listing */
.listing-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
}

.filter {
    height: max-content;
}

.filter label,
form label {
    display: block;
    font-weight: 700;
    margin: 13px 0 7px;
}

/* Form Elements */
input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d8dde7;
    border-radius: 9px;
    background: #fff;
    font: inherit;
}

form button {
    width: 100%;
    margin-top: 15px;
}

/* Profile */
.profile {
    background: #fff;
}

.profile-cover {
    height: 330px;
    overflow: hidden;
}

.profile-cover img,
.profile-cover .placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main {
    max-width: 1000px;
    margin: auto;
    padding: 35px 25px 55px;
}

.profile-main h1 {
    font-size: 42px;
    margin: 12px 0;
}

.address {
    color: #4e586c;
}

.review {
    margin: 14px 0;
}

.review span {
    color: #f59e0b;
}

.review small,
.muted {
    color: #758096;
}

/* Center */
.center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Authentication */
.auth {
    width: 430px;
}

.auth h1 {
    margin-top: 8px;
}

.auth .brand {
    text-align: center;
    display: block;
}

/* Alert */
.alert {
    background: #fff0f0;
    color: #a42323;
    padding: 12px;
    border-radius: 9px;
    margin-bottom: 15px;
}

/* Feedback */
.feedback-bg {
    background: #f0f3f8;
    padding: 25px;
}

.feedback-card {
    width: 600px;
    max-width: 100%;
    margin: 30px auto;
}

.mini-profile {
    text-align: center;
}

.mini-profile img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.mini-profile h1 {
    margin: 10px 0;
}

/* Stars */
.stars {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.stars label {
    font-weight: 800;
    color: #f59e0b;
    cursor: pointer;
}

.stars input {
    width: auto;
    margin-right: 3px;
}

/* Thank You */
.thank {
    text-align: center;
    max-width: 500px;
}

.success {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e9f8ef;
    color: #168447;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

/* Footer */
footer {
    padding: 35px 6%;
    border-top: 1px solid #e5e9f0;
    color: #758096;
}

/* Tablet */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero h1 {
        font-size: 42px;
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .nav {
        padding: 0 18px;
    }

    .nav div a:not(.btn) {
        display: none;
    }

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

    .hero {
        padding: 50px 22px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section {
        padding: 40px 20px;
    }

    .profile-main h1 {
        font-size: 34px;
    }
}

.brand img {
    height: 30px;
    width: auto;
    display: block;
}