/* ==========================================================
   peijian.css —— Accessories & options page styles (class prefix pj-)
   Dark luxury brand system: --bg-deep / --gold
   English site - independent copy
   ========================================================== */

/* ========== Module 1: Hero banner ========== */
.pj-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.pj-hero-bg {
    position: absolute;
    inset: 0;
    background: url(../../public/banner/3-1.jpg) center center / cover no-repeat;
    transform: scale(1.05);
}
/* Dark vignette + gilded light accents */
.pj-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 72% 40%, rgba(200, 160, 96, 0.16), transparent 70%),
        linear-gradient(90deg, rgba(10, 12, 18, 0.92) 0%, rgba(10, 12, 18, 0.55) 45%, rgba(10, 12, 18, 0.15) 100%),
        linear-gradient(0deg, rgba(10, 12, 18, 0.9) 0%, transparent 30%);
}
.pj-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-left: 8vw;
}
.pj-hero-tag {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 28px;
    background: rgba(200, 160, 96, 0.06);
    backdrop-filter: blur(4px);
}
.pj-hero-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 2px;
    background: linear-gradient(120deg, #F5EBD8 20%, var(--gold) 55%, #F5EBD8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}
.pj-hero-subtitle {
    font-size: 20px;
    color: var(--silver);
    letter-spacing: 1px;
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 44px;
}
.pj-hero-subtitle em {
    font-style: normal;
    color: var(--gold);
}
/* Scroll hint */
.pj-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-gray);
    font-size: 13px;
    letter-spacing: 2px;
    text-align: center;
    animation: pjFloat 2.2s ease-in-out infinite;
}
.pj-hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 36px;
    background: linear-gradient(var(--gold), transparent);
    margin: 8px auto 0;
}
@keyframes pjFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ========== Module 2: Category tab bar (sticky) ========== */
.pj-tabbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(10, 12, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(200, 160, 96, 0.12);
    border-bottom: 1px solid rgba(200, 160, 96, 0.12);
}
.pj-tabbar.stuck {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.pj-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.pj-tab {
    position: relative;
    padding: 22px 32px;
    font-size: 16px;
    letter-spacing: 1px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.pj-tab small {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgba(138, 143, 153, 0.65);
    margin-top: 4px;
    transition: color 0.3s ease;
}
.pj-tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.pj-tab:hover { color: var(--text-white); }
.pj-tab.active { color: var(--gold); }
.pj-tab.active small { color: rgba(200, 160, 96, 0.7); }
.pj-tab.active::after { width: 60%; }

/* ========== Module 2: Category panels ========== */
.pj-section {
    padding: 90px 0 110px;
}
.pj-panel {
    display: none;
    animation: pjFadeUp 0.5s ease both;
}
.pj-panel.active { display: block; }
@keyframes pjFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.pj-panel-head {
    text-align: center;
    margin-bottom: 56px;
}
.pj-panel-head h2 {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-white);
}
.pj-panel-head h2 span { color: var(--gold); }
.pj-panel-head p {
    margin-top: 14px;
    font-size: 16px;
    color: var(--text-gray);
    letter-spacing: 1px;
}
.pj-panel-head .pj-divider {
    width: 56px;
    height: 2px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Three-column cards */
.pj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.pj-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.pj-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 160, 96, 0.08);
}
.pj-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.pj-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.pj-card:hover .pj-card-img img { transform: scale(1.06); }
.pj-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 21, 29, 0.55) 0%, transparent 40%);
    pointer-events: none;
}
.pj-card-num {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 2;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--gold);
    padding: 4px 12px;
    border: 1px solid rgba(200, 160, 96, 0.35);
    border-radius: 50px;
    background: rgba(10, 12, 18, 0.55);
    backdrop-filter: blur(4px);
}
.pj-card-info {
    padding: 24px 26px 28px;
}
.pj-card-info h4 {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 10px;
    transition: color 0.3s;
}
.pj-card:hover .pj-card-info h4 { color: var(--gold); }
.pj-card-info p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== Bottom conversion CTA ========== */
.pj-cta {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, #0D0F16 100%);
    border-top: 1px solid rgba(200, 160, 96, 0.1);
    text-align: center;
}
.pj-cta h3 {
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 14px;
}
.pj-cta h3 span { color: var(--gold); }
.pj-cta p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

/* ========== Consultation modal form (same as index.css) ========== */
.form-row { margin-bottom: 20px; }
.form-row label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--silver); }
.form-row input, .form-row select { width: 100%; padding: 12px 16px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; color: var(--text-white); font-size: 14px; outline: none; transition: border-color 0.3s; }
.form-row input:focus, .form-row select:focus { border-color: var(--gold); }
.submit-btn { width: 100%; padding: 14px; background: var(--gold); color: #0A0C12; border: none; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.submit-btn:hover { background: var(--gold-dark); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .pj-hero-title { font-size: 42px; }
    .pj-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
    .pj-tabs { flex-wrap: wrap; }
    .pj-tab { padding: 16px 18px; font-size: 14px; }
}

@media (max-width: 768px) {
    .pj-hero-content { padding: 0 24px; }
    .pj-hero-title { font-size: 30px; letter-spacing: 1px; }
    .pj-hero-subtitle { font-size: 16px; }
    .pj-section { padding: 60px 0 70px; }
    .pj-panel-head h2 { font-size: 24px; }
    .pj-tab small { display: none; }
}
