/* ----- BREADCRUMB ----- */
.page-breadcrumb {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 13px;
}
.page-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.page-breadcrumb a { color: var(--text-tertiary); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--accent-1); }
.crumb-sep { color: var(--accent-1); font-size: 6px; opacity: 0.5; }
.crumb-current { color: var(--text-primary); font-weight: 500; }

/* ----- PAGE HERO (SMALL) ----- */
.page-hero-sm {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.page-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.ph-particle {
    position: absolute;
    width: var(--s); height: var(--s);
    left: var(--x); top: var(--y);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102,126,234,0.06) 0%, transparent 70%);
    animation: heroPulse 6s ease-in-out infinite;
}
.page-hero-content { position: relative; z-index: 2; text-align: center; max-width: 600px; margin: 0 auto; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(30px,4vw,42px); font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.page-hero-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   DETAIL PAGE
   ============================================ */
.detail-main-new { padding: 40px 0; background: var(--bg-primary); }
.detail-layout { display: flex; gap: 48px; align-items: flex-start; }
.detail-cover-col { flex: 0 0 300px; }
.detail-cover-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.detail-cover-wrap { position: relative; border-radius: var(--radius-md); overflow: visible; }
.detail-ribbon-new {
    position: absolute; top: 12px; left: -6px; z-index: 3;
    background: var(--accent-4); color: white;
    font-size: 11px; font-weight: 700;
    padding: 6px 14px 6px 16px;
    border-radius: 0 4px 4px 0;
    line-height: 1.3; text-align: center;
}
.detail-ribbon-new::before {
    content: ''; position: absolute; left: 0; bottom: -6px;
    border: 3px solid transparent;
    border-top-color: #b31525;
    border-right-color: #b31525;
}
.detail-cover-art {
    width: 100%; aspect-ratio: 93/125;
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; position: relative; overflow: hidden;
}
.detail-cover-art::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 40%, rgba(0,0,0,0.2) 100%);
}
.detail-cover-title {
    position: relative; z-index: 1;
    font-family: var(--font-display); font-size: 36px; font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.detail-cover-date {
    position: relative; z-index: 1;
    font-size: 13px; font-weight: 500; opacity: 0.9; margin-top: 4px;
}
.detail-cover-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.detail-badge { padding: 6px 14px; border-radius: 100px; background: var(--bg-tertiary); border: 1px solid var(--border-color); font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.detail-info-col { flex: 1; min-width: 0; }
.detail-category { font-size: 13px; font-weight: 600; color: var(--accent-1); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-title { font-family: var(--font-display); font-size: clamp(30px,4vw,38px); font-weight: 800; line-height: 1.15; margin-bottom: 12px; }
.detail-subtitle { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; max-width: 580px; }
.detail-pricing { margin-bottom: 28px; }
.pricing-tabs { display: flex; gap: 4px; background: var(--bg-tertiary); padding: 4px; border-radius: var(--radius-md); margin-bottom: 16px; }
.pricing-tab { flex: 1; padding: 10px 16px; border: none; background: transparent; color: var(--text-secondary); font-size: 13px; font-weight: 600; font-family: var(--font-body); border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.pricing-tab:hover { color: var(--text-primary); }
.pricing-tab.active { background: var(--bg-elevated); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.pricing-panels { position: relative; }
.pricing-panel { display: none; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; }
.pricing-panel.active { display: block; }
.pricing-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pricing-amount { font-size: 28px; font-weight: 800; font-family: var(--font-display); color: var(--text-primary); }
.pricing-period { font-size: 14px; color: var(--text-tertiary); }
.pricing-save { background: rgba(67,233,123,0.15); color: var(--green); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.pricing-details { display: flex; gap: 16px; font-size: 14px; color: var(--text-tertiary); margin-bottom: 16px; flex-wrap: wrap; }
.pricing-original { text-decoration: line-through; opacity: 0.6; }
.pricing-per { color: var(--accent-1); font-weight: 500; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.pricing-features li { font-size: 14px; color: var(--text-secondary); }
.detail-devices-new h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.device-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.device-pill { padding: 8px 16px; border-radius: 8px; background: var(--bg-tertiary); border: 1px solid var(--border-color); font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: all 0.2s; }
.device-pill:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); transform: translateY(-2px); }
.detail-about-new { padding: 60px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.about-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; }
.about-text h2 { font-family: var(--font-display); font-size: 26px; font-weight: 800; margin-bottom: 16px; }
.about-text p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; font-size: 15px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 16px; transition: all 0.3s; }
.fact-item:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.fact-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-tertiary); margin-bottom: 4px; }
.fact-value { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.detail-preview-new { padding: 60px 0; }
.preview-grid-new { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.preview-page { aspect-ratio: 93/125; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); display: flex; align-items: flex-end; justify-content: center; padding: 16px; color: white; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; }
.preview-page::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 50%); }
.preview-page span { position: relative; z-index: 1; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.preview-page:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============================================
   CATEGORIES PAGE
   ============================================ */
.cat-filter-bar { background: var(--bg-primary); border-bottom: 1px solid var(--border-color); padding: 16px 0; }
.cat-filter-inner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cat-filter-search { flex: 1; min-width: 200px; position: relative; display: flex; align-items: center; }
.cat-filter-search svg { position: absolute; left: 12px; color: var(--text-tertiary); pointer-events: none; }
.cat-filter-input { width: 100%; padding: 10px 36px 10px 38px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-primary); color: var(--text-primary); font-size: 14px; font-family: var(--font-body); transition: border-color 0.2s; }
.cat-filter-input:focus { outline: none; border-color: var(--accent-1); }
.cat-filter-input::placeholder { color: var(--text-tertiary); }
.cat-filter-clear { position: absolute; right: 8px; background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 4px; border-radius: 4px; font-size: 14px; display: none; }
.cat-filter-clear:hover { color: var(--text-primary); }
.cat-filter-input:not(:placeholder-shown) ~ .cat-filter-clear { display: block; }
.cat-filter-selects { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-filter-select { padding: 10px 32px 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-primary); color: var(--text-primary); font-size: 13px; font-family: var(--font-body); cursor: pointer; transition: border-color 0.2s; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 12px; }
.cat-filter-select:focus { outline: none; border-color: var(--accent-1); }
.cat-filter-stats { font-size: 13px; color: var(--text-tertiary); padding-top: 8px; border-top: 1px solid var(--border-color); margin-top: 10px; }
.cat-filter-stats span { font-weight: 600; color: var(--text-primary); }
@media (max-width: 768px) {
  .cat-filter-inner { flex-direction: column; align-items: stretch; }
  .cat-filter-selects { justify-content: stretch; }
  .cat-filter-select { flex: 1; }
}
.cat-quick-bar { background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); position: sticky; top: var(--header-h); z-index: 50; padding: 12px 0; }
.cat-quick-scroll { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.cat-quick-scroll::-webkit-scrollbar { display: none; }
.cat-quick-chip { padding: 8px 16px; border-radius: 100px; background: var(--bg-tertiary); border: 1px solid var(--border-color); font-size: 13px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; transition: all 0.2s; text-decoration: none; flex-shrink: 0; }
.cat-quick-chip:hover { background: var(--accent-1); color: white; border-color: var(--accent-1); }
.cat-quick-chip.active { background: var(--accent-1); color: white; border-color: var(--accent-1); }
.cat-list-section { padding: 40px 0; }
.cat-block-new { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border-color); }
.cat-block-new:last-child { border-bottom: none; margin-bottom: 0; }
.cat-block-header-new { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cat-block-icon { font-size: 32px; flex-shrink: 0; }
.cat-block-header-new h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.cat-block-header-new p { font-size: 14px; color: var(--text-tertiary); margin-top: 2px; }
.cat-block-count { margin-left: auto; font-size: 13px; color: var(--text-tertiary); background: var(--bg-tertiary); padding: 4px 14px; border-radius: 100px; white-space: nowrap; flex-shrink: 0; }
.cat-block-mags { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cat-block-mag { display: flex; align-items: flex-end; justify-content: center; padding: 10px; border-radius: var(--radius-sm); color: white; font-size: 13px; font-weight: 600; text-align: center; text-decoration: none; aspect-ratio: 93/125; box-shadow: var(--shadow-sm); transition: all 0.3s ease; position: relative; overflow: hidden; }
.cat-block-mag::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 50%); pointer-events: none; }
.cat-block-mag:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-md); }
.cat-block-mag-title { position: relative; z-index: 1; text-shadow: 0 1px 6px rgba(0,0,0,0.6); line-height: 1.3; }
.cat-mag-all { background: var(--bg-elevated) !important; color: var(--accent-1) !important; border: 1px solid var(--border-color); font-family: var(--font-body) !important; font-size: 13px !important; aspect-ratio: auto; }
.cat-mag-all::after { display: none; }
.cat-mag-all:hover { background: var(--accent-1) !important; color: white !important; border-color: var(--accent-1); }

/* ============================================
   HOW IT WORKS PAGE
   ============================================ */
.hiw-steps-new { padding: 60px 0; }
.hiw-steps-container { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.hiw-step-card { display: flex; gap: 24px; align-items: flex-start; position: relative; }
.hiw-step-card::before { content: ''; position: absolute; left: 20px; top: 60px; bottom: -40px; width: 2px; background: var(--border-color); }
.hiw-step-card:last-child::before { display: none; }
.hiw-step-num { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-gradient); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 800; position: relative; z-index: 2; }
.hiw-step-body { flex: 1; padding-top: 8px; }
.hiw-step-icon-wrap { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hiw-step-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.hiw-step-body p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.hiw-plan-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.hiw-plan-pill { padding: 6px 14px; border-radius: 8px; font-size: 12px; background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-secondary); }
.hiw-plan-pill-featured { background: rgba(102,126,234,0.15); border-color: rgba(102,126,234,0.3); color: var(--accent-1); }
.hiw-plan-pill strong { color: var(--text-primary); display: block; }
.hiw-devices-new { padding: 60px 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.hiw-device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hiw-device-card-new { padding: 28px; border-radius: var(--radius-md); background: var(--bg-card); border: 1px solid var(--border-color); text-align: center; transition: all 0.3s ease; }
.hiw-device-card-new:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.hiw-device-img { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 16px; }
.hiw-device-card-new h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hiw-device-card-new p { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; }
.hiw-faq-new { padding: 60px 0; }
.faq-container { max-width: 680px; margin: 0 auto; }
.faq-item-new { border-bottom: 1px solid var(--border-color); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; color: var(--text-primary); font-family: var(--font-body); font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; transition: color 0.2s; }
.faq-q:hover { color: var(--accent-1); }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item-new.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item-new.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-a p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.hiw-cta-new { padding: 80px 0; background: var(--bg-tertiary); border-top: 1px solid var(--border-color); }
.hiw-cta-new h2 { font-family: var(--font-display); font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.hiw-cta-new p { font-size: 16px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* ========== RESPONSIVE (Pages) ========== */
@media (max-width: 900px) {
    .detail-layout { flex-direction: column; }
    .detail-cover-col { flex: 0 0 auto; max-width: 300px; }
    .detail-cover-sticky { position: static; }
    .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .detail-cover-col { max-width: 220px; }
    .pricing-tabs { flex-direction: column; }
    .about-facts { grid-template-columns: 1fr 1fr; }
    .preview-grid-new { grid-template-columns: repeat(3, 1fr); }
    .cat-block-mags { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
    .hiw-step-card::before { display: none; }
}
@media (max-width: 480px) {
    .about-facts { grid-template-columns: 1fr; }
    .preview-grid-new { grid-template-columns: repeat(2, 1fr); }
    .detail-cover-col { max-width: 180px; }
}
