:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-soft: #f0f2f7;
    --text: #172033;
    --muted: #6b7280;
    --primary: #5b4bdb;
    --primary-dark: #4738b7;
    --border: #e5e7eb;
    --shadow: 0 12px 35px rgba(23, 32, 51, .08);
    --radius: 20px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

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

button,
input {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.site-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
}

.brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #eeeaff;
    font-size: 23px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 18px;
}

.brand small {
    color: var(--muted);
    font-size: 11px;
}

.main-nav {
    display: flex;
    gap: 25px;
    color: #4b5563;
    font-size: 14px;
}

.main-nav a:hover,
.section-link,
.hero-links a {
    color: var(--primary);
}

.btn {
    border-radius: 11px;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
}

.btn-outline {
    border: 1px solid var(--border);
    background: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero {
    padding: 75px 0 65px;
    background:
        radial-gradient(circle at 85% 20%, #e8e3ff 0, transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f4f1ff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin: 18px 0;
    max-width: 700px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-text > p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 30px;
}

.search-box {
    max-width: 650px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 7px;
    box-shadow: var(--shadow);
}

.search-icon {
    padding-left: 12px;
}

.search-box input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    padding: 12px 4px;
    color: var(--text);
}

.search-box button {
    border: 0;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.hero-links {
    display: flex;
    gap: 25px;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 600;
}

.hero-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 25px 70px rgba(68, 53, 160, .13);
    transform: rotate(1deg);
}

.hero-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    padding: 4px 6px 14px;
}

.hero-card-main {
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface-soft);
    padding: 20px;
}

.mock-store {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px;
    text-align: center;
    padding: 20px;
}

.mock-banner {
    width: 100%;
    height: 95px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6252e4, #a797ff);
    margin-bottom: -38px;
}

.mock-logo {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    margin-bottom: 18px;
}

.mock-store strong {
    font-size: 19px;
}

.mock-store small {
    color: var(--muted);
    margin-top: 6px;
}

.section {
    padding: 75px 0;
}

.section-soft {
    background: #fff;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 7px 0 0;
    font-size: 30px;
    letter-spacing: -.8px;
}

.section-link {
    font-size: 14px;
    font-weight: 700;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.store-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 7px 25px rgba(23, 32, 51, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.store-cover {
    height: 130px;
}

.store-cover-1 {
    background: linear-gradient(135deg, #5b4bdb, #9185ef);
}

.store-cover-2 {
    background: linear-gradient(135deg, #0f766e, #5eead4);
}

.store-cover-3 {
    background: linear-gradient(135deg, #be6a12, #f6bd72);
}

.store-body {
    position: relative;
    padding: 0 20px 22px;
}

.store-avatar {
    width: 62px;
    height: 62px;
    margin-top: -31px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 7px 18px rgba(0, 0, 0, .08);
    font-size: 27px;
}

.store-body h3 {
    margin: 0 0 5px;
}

.store-body p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.store-location {
    color: var(--muted);
    font-size: 12px;
}

.empty-state {
    background: var(--bg);
    border: 1px dashed #cfd3dc;
    border-radius: var(--radius);
    text-align: center;
    padding: 55px 25px;
}

.empty-icon {
    font-size: 42px;
}

.empty-state h3 {
    margin: 12px 0 5px;
}

.empty-state p {
    color: var(--muted);
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.feature-icon {
    font-size: 32px;
}

.feature-card h3 {
    margin: 18px 0 8px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    background: #111827;
    color: #fff;
    padding: 35px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.site-footer p {
    color: #9ca3af;
    margin: 4px 0 0;
    font-size: 13px;
}

.footer-copy {
    color: #9ca3af;
    font-size: 13px;
}

@media (max-width: 850px) {
    .main-nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 50px;
    }

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

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .brand small {
        display: none;
    }

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

    .search-box {
        flex-wrap: wrap;
    }

    .search-box input {
        width: calc(100% - 45px);
    }

    .search-box button {
        width: 100%;
    }

    .hero-links {
        flex-direction: column;
        gap: 10px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
