:root {
    --text: var(--text-primary);
    --accent: var(--brass-primary);
    --border: var(--border-subtle);
    --card-bg: var(--dark-elevated);
    --bg-secondary: var(--dark-surface);
}

.pd-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1.5rem;
}

.pd-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: pd-spin 0.8s linear infinite;
}

@keyframes pd-spin {
    to {
        transform: rotate(360deg);
    }
}

.pd-hero {
    padding: 8rem 2rem 3rem;
    position: relative;
    overflow: hidden;
}

.pd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-glow, rgba(218, 165, 32, 0.07)) 0%, transparent 60%);
    pointer-events: none;
}

.pd-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pd-hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.pd-breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pd-breadcrumb a:hover {
    opacity: 0.7;
}

.pd-breadcrumb .sep {
    font-size: 0.65rem;
}

.pd-category-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: fit-content;
}

.pd-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.pd-hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pd-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.pd-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-hero-image img {
    max-width: 100%;
    max-height: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    object-fit: contain;
    background: var(--card-bg, #fff);
    padding: 1.5rem;
}

.pd-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 1px;
}

.pd-divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.pd-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.pd-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pd-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pd-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--text);
}

.pd-section p,
.pd-section li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.pd-section ul {
    list-style: none;
    padding: 0;
}

.pd-section ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pd-section ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.85rem;
}

.pd-keypoints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.pd-keypoint-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pd-keypoint-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pd-keypoint-card i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.pd-keypoint-card span {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.pd-feature-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pd-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pd-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pd-feature-card h3 i {
    color: var(--accent);
    font-size: 1rem;
}

.pd-feature-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pd-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: var(--card-bg, #fff);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.pd-specs-table th,
.pd-specs-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.pd-specs-table th {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pd-specs-table tr:last-child td {
    border-bottom: none;
}

.pd-specs-table tr:hover td {
    background: var(--accent-glow, rgba(218, 165, 32, 0.05));
}

.pd-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.pd-app-tag {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text);
    transition: border-color 0.3s, transform 0.2s;
}

.pd-app-tag:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.pd-app-tag i {
    color: var(--accent);
    font-size: 1rem;
}

.pd-quality-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #b8860b 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.pd-quality-banner h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pd-quality-banner p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.pd-related-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
}

.pd-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.pd-related-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    background: var(--bg-secondary, #f8f8f8);
    padding: 0.5rem;
}

.pd-related-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.pd-related-card span {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pd-cta-section {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 1rem;
}

.pd-cta-section h2 {
    margin-bottom: 0.75rem;
}

.pd-cta-section p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.pd-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pd-not-found {
    text-align: center;
    padding: 8rem 2rem;
}

.pd-not-found h1 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.pd-not-found p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .pd-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pd-hero-cta {
        justify-content: center;
    }

    .pd-hero-image {
        order: -1;
    }

    .pd-hero-image img {
        max-height: 280px;
    }

    .pd-quality-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pd-section {
        padding: 2rem 1.25rem;
    }

    .pd-hero {
        padding: 7rem 1.25rem 2rem;
    }
}

[data-theme="light"] .pd-keypoint-card,
[data-theme="light"] .pd-feature-card,
[data-theme="light"] .pd-app-tag,
[data-theme="light"] .pd-related-card,
[data-theme="light"] .pd-cta-section,
[data-theme="light"] .pd-specs-table {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pd-keypoint-card:hover,
[data-theme="light"] .pd-feature-card:hover,
[data-theme="light"] .pd-related-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pd-hero-image img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}