.pi-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fc;
    border-radius: 16px;
    margin-top: 40px;
}

.pi-title {
    font-family: 'Playfair Display', serif;
    color: #1a2e5a;
    font-size: 24px;
    text-align: center;
    margin-bottom: 6px;
}

.pi-subtitle {
    text-align: center;
    color: #667;
    font-size: 14px;
    margin-bottom: 24px;
}

.pi-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
}

.pi-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pi-field label {
    font-size: 12px;
    font-weight: 600;
    color: #1a2e5a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pi-field input,
.pi-field select {
    padding: 10px 14px;
    border: 1px solid #d8e0f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    min-width: 160px;
    box-sizing: border-box;
}

.pi-field select {
    height: auto;
    line-height: normal;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0;
    text-overflow: clip;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2e5a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    padding-right: 34px;
    cursor: pointer;
    color: #33415c;
}

.pi-field select option {
    color: #33415c;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    padding: 4px;
}

.pi-field input:focus,
.pi-field select:focus {
    outline: none;
    border-color: #1a2e5a;
    box-shadow: 0 0 0 3px rgba(26, 46, 90, 0.1);
}

.pi-btn {
    background: linear-gradient(135deg, #1a2e5a, #2a4080);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pi-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 46, 90, 0.3);
}

.pi-results-info {
    text-align: center;
    color: #667;
    font-size: 13px;
    margin: 20px 0 12px;
}

.pi-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.pi-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e8ecf4;
    transition: box-shadow 0.2s;
}

.pi-card:hover {
    box-shadow: 0 4px 16px rgba(26, 46, 90, 0.1);
}

.pi-card-name {
    font-weight: 700;
    color: #1a2e5a;
    font-size: 14px;
    margin-bottom: 8px;
}

.pi-card-detail {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

.pi-card-detail strong {
    color: #334;
}

.pi-card a {
    display: inline-block;
    margin-top: 8px;
    color: #c0392b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.pi-card a:hover {
    text-decoration: underline;
}

.pi-empty {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 30px;
}

@media (max-width: 600px) {
    .pi-form {
        flex-direction: column;
    }

    .pi-field {
        width: 100%;
    }
}

/* HERO BAND (replaces old selling banner image) */
.pi-hero-band {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: linear-gradient(135deg, #1a2e5a 0%, #24385f 45%, #2d3f6b 100%);
    padding: 72px 20px;
    overflow: hidden;
}

.pi-hero-band::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 57, 43, 0.35) 0%, rgba(192, 57, 43, 0) 70%);
}

.pi-hero-band::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.pi-hero-band-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.pi-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.pi-hero-sub {
    color: #d7def0;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 30px;
}

.pi-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #c0392b;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.35);
    transition: background 0.25s ease, transform 0.25s ease;
}

.pi-hero-btn:hover {
    background: #a93226;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .pi-hero-band {
        padding: 52px 20px;
    }

    .pi-hero-sub {
        margin-bottom: 24px;
    }
}