/* ============================================
   FPSWare - Product Page Styles
   ============================================ */

/* Page layout */
.product-page {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
    background: #0a0a0a;
    position: relative;
}

.product-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.product-page-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 1;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-bottom: 48px;
}

.back-link:hover {
    color: #fff;
}

/* Product header */
.product-header {
    margin-bottom: 56px;
}

.product-header-labels {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.product-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red-primary);
}

.product-game-pill {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.1;
}

.product-description {
    font-family: var(--font-body);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 740px;
    margin: 0;
}

/* Notices */
.notice-card {
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 48px;
}

.notice-card.notice-warning {
    border: 1px solid rgba(255, 165, 0, 0.3);
    background: rgba(255, 165, 0, 0.05);
}

.notice-card.notice-highlight {
    border: 1px solid rgba(255, 191, 0, 0.3);
    background: rgba(255, 191, 0, 0.05);
}

.notice-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notice-warning .notice-icon {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    color: #f59e0b;
}

.notice-highlight .notice-icon {
    background: rgba(255, 191, 0, 0.1);
    border: 1px solid rgba(255, 191, 0, 0.2);
    color: #fbbf24;
}

.notice-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.notice-warning .notice-title {
    color: #f59e0b;
}

.notice-highlight .notice-title {
    color: #fbbf24;
}

.notice-desc {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* Main grid */
.product-main-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Product Showcase */
.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.showcase-main {
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background: #0d1117;
}

.showcase-main .showcase-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.showcase-main .showcase-viewer img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.showcase-main .showcase-viewer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.showcase-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(13, 17, 23, 0.6));
    pointer-events: none;
    z-index: 1;
}

.showcase-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 5px 10px;
}

/* Showcase navigation arrows */
.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.showcase-nav:hover {
    color: #fff;
    background: rgba(10, 10, 10, 0.9);
}

.showcase-nav.prev { left: 12px; }
.showcase-nav.next { right: 12px; }

/* Thumbnail strip */
.showcase-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.showcase-thumb {
    flex-shrink: 0;
    width: 96px;
    height: 66px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
    background: #0d1117;
}

.showcase-thumb:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.2);
}

.showcase-thumb.active {
    opacity: 1;
    border-color: var(--red-primary);
    box-shadow: 0 0 0 1px rgba(255, 45, 45, 0.3);
}

.showcase-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-thumb .thumb-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
}

/* Pricing Panel */
.pricing-panel {
    border-radius: 18px;
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.pricing-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-header-col span:first-child {
    display: block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 6px;
}

.pricing-duration {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

/* Payment info */
.payment-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 24px;
}

.payment-info span {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.5;
}

/* Variant selector */
.variant-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex: 1;
}

.variant-card {
    position: relative;
    width: 100%;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    font-family: var(--font-body);
}

.variant-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.variant-card.selected {
    border-color: var(--red-primary);
    background: rgba(255, 45, 45, 0.05);
}

.variant-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.variant-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

.variant-card.selected .variant-label {
    color: #fff;
}

.variant-duration {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
}

.variant-price {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
}

.variant-card.selected .variant-price {
    color: #fff;
}

.variant-save {
    display: block;
    font-size: 12px;
    color: var(--red-primary);
    margin-top: 6px;
    font-weight: 500;
}

.variant-badge-popular {
    position: absolute;
    top: -9px;
    right: 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--red-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
}

/* Purchase button */
.btn-purchase {
    width: 100%;
    padding: 18px;
    border-radius: 10px;
    background: var(--red-primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-purchase:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 45, 45, 0.25);
}

/* ─── Features Section ─── */

/* Simple features */
.features-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    padding: 40px;
    margin-bottom: 80px;
}

.features-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-title-icon {
    color: var(--red-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 45, 45, 0.1);
    border: 1px solid rgba(255, 45, 45, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--red-primary);
}

.feature-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Detailed features */
.detailed-features {
    margin-bottom: 80px;
}

.detailed-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.detail-category-card {
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 0.2s ease;
}

.detail-category-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.detail-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-category-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 45, 45, 0.1);
    border: 1px solid rgba(255, 45, 45, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-primary);
}

.detail-category-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red-primary);
}

.detail-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 45, 45, 0.1);
    border: 1px solid rgba(255, 45, 45, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--red-primary);
}

.detail-feature-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

/* System Requirements */
.sysreq-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    padding: 40px;
    margin-bottom: 80px;
}

.sysreq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sysreq-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sysreq-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.sysreq-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
}

/* Trust Row */
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.trust-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    transition: border-color 0.2s ease;
}

.trust-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.trust-icon {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.trust-label {
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.trust-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
}

/* FAQ */
.faq-section {
    margin-bottom: 80px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.faq-open {
    border-color: rgba(255, 45, 45, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.faq-chevron {
    color: rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.faq-item.faq-open .faq-chevron {
    transform: rotate(180deg);
    color: var(--red-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-item.faq-open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* Discord Banner */
.discord-banner {
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(165deg, #161616 0%, #0e0e0e 100%);
    overflow: hidden;
    margin-bottom: 80px;
}

.discord-glow {
    position: absolute;
    top: -48px;
    left: -48px;
    width: 96px;
    height: 96px;
    background: rgba(88, 101, 242, 0.08);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.discord-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 40px;
}

.discord-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #5865F2;
}

.discord-text {
    flex: 1;
}

.discord-text h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}

.discord-text p {
    font-family: var(--font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

.discord-channel {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--red-primary);
    font-weight: 500;
}

.discord-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    background: #5865F2;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.discord-btn:hover {
    background: #4752C4;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 0;
    background: #0a0a0a;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 4px 0 0;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
    .product-main-grid {
        grid-template-columns: 1fr;
    }

    .pricing-panel {
        position: static;
    }

    .detailed-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-page {
        padding-top: 100px;
    }

    .product-page-container {
        padding: 0 20px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .sysreq-grid {
        grid-template-columns: 1fr;
    }

    .detailed-features-grid {
        grid-template-columns: 1fr;
    }

    .discord-content {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 32px;
    }

    .pricing-amount {
        font-size: 32px;
    }

    .pricing-panel {
        padding: 24px;
    }
}
