/* ===== Product Page Styles ===== */

/* Product Hero */
.product-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-section));
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--primary-yellow);
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.product-badge.available {
    background: rgba(50, 205, 50, 0.2);
    color: #32CD32;
    border: 1px solid rgba(50, 205, 50, 0.3);
}

.product-badge.coming-soon {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-yellow);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.product-hero-info h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.product-subtitle {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.product-price-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.product-price-hero .price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.25rem;
}

.product-price-hero .price-current {
    color: var(--primary-yellow);
    font-size: 2rem;
    font-weight: 700;
}

.product-price-hero .price-na {
    color: var(--text-muted);
    font-size: 1.25rem;
    font-style: italic;
}

.product-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-hero-image {
    display: flex;
    justify-content: center;
}

.product-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px dashed rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.product-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

/* Product Details */
.product-details {
    padding: var(--section-padding);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.detail-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.detail-card.full-width {
    grid-column: 1 / -1;
}

.detail-card h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-list h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.feature-list p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Spec Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 14px 0;
}

.spec-table td:first-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.spec-table td:last-child {
    text-align: right;
    font-weight: 500;
}

/* Installation Steps */
.installation-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-bee);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.installation-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Downloads Section */
.downloads-section {
    padding: 60px 0;
    background: var(--bg-section);
}

.downloads-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.downloads-grid {
    display: grid;
    gap: 16px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition-medium);
}

.download-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(8px);
}

.download-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-yellow);
    flex-shrink: 0;
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.download-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.download-action {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.download-card:hover .download-action {
    color: var(--primary-yellow);
}

/* CTA Section */
.product-cta-section {
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 968px) {
    .product-hero-content {
        grid-template-columns: 1fr;
    }

    .product-hero-image {
        order: -1;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .installation-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Mobile Responsive Styles ===== */
@media (max-width: 768px) {

    /* Hero Section */
    .product-hero {
        padding: 120px 0 60px;
    }

    .product-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .product-hero-image {
        order: -1;
    }

    .product-hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-intro {
        font-size: 1rem;
    }

    .product-cta {
        flex-direction: column;
        gap: 12px;
    }

    .product-cta .btn-primary,
    .product-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Details Section */
    .product-details {
        padding: 60px 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-card {
        padding: 24px;
    }

    .detail-card.full-width {
        grid-column: 1;
    }

    /* Features List */
    .features-list li {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .feature-icon {
        margin: 0 auto;
    }

    /* Spec Table */
    .spec-table td {
        display: block;
        padding: 8px 0;
    }

    .spec-table tr {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

    .spec-table td:first-child {
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.85rem;
    }

    .compatibility-btn {
        display: block;
        margin: 8px 0 0 0;
        width: 100%;
        text-align: center;
    }

    /* Downloads Section */
    .downloads-section {
        padding: 60px 0;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 20px;
    }

    /* CTA Section */
    .product-cta-section {
        padding: 60px 0;
    }

    .product-cta-section h2 {
        font-size: 1.5rem;
    }

    /* Mystery Placeholder */
    .mystery-placeholder {
        width: 200px;
        height: 200px;
    }

    .mystery-question {
        font-size: 80px;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 100px 0 40px;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .product-price .amount {
        font-size: 2rem;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-card h2 {
        font-size: 1.3rem;
    }

    .features-list li h4 {
        font-size: 1rem;
    }

    .features-list li p {
        font-size: 0.9rem;
    }

    .mystery-placeholder {
        width: 150px;
        height: 150px;
    }

    .mystery-question {
        font-size: 60px;
    }

    .product-cta {
        flex-direction: column;
    }

    .installation-steps {
        grid-template-columns: 1fr;
    }
}

/* ===== Coming Soon / Mystery Styles ===== */
.coming-soon-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d0d0d 50%, var(--bg-section) 100%);
}

.mystery-intro {
    color: var(--text-muted);
    font-style: italic;
}

/* Mystery Placeholder - the "?" box */
.mystery-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border: 2px dashed rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: mysteryFloat 4s ease-in-out infinite;
}

.mystery-question {
    font-size: 120px;
    font-weight: 800;
    background: var(--gradient-bee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    animation: questionPulse 2s ease-in-out infinite;
    z-index: 2;
}

.mystery-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 50%);
    filter: blur(40px);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes mysteryFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes questionPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.9));
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Blurred Section - for hiding details */
.blurred-section {
    position: relative;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
}

.blur-content {
    text-align: center;
    padding: 40px;
}

.blur-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.blur-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.blur-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.blurred-items {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

.blurred-card {
    opacity: 0.6;
}

.blurred-card h2 {
    color: var(--text-muted);
}

.blurred-item {
    color: var(--text-muted) !important;
    display: block;
    padding: 8px 0;
    letter-spacing: 2px;
}

/* ===== Modal Styles ===== */
.modal {

    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.1);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-yellow);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.modal-header p {
    color: var(--primary-yellow);
    font-size: 0.95rem;
}

/* Compatibility Modal Specific Styles */
.compatibility-info h3 {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    margin: 24px 0 12px 0;
}

.compatibility-info h3:first-child {
    margin-top: 0;
}

.compatibility-info h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 20px 0 10px 0;
}

.compatibility-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.compatibility-info ul,
.compatibility-info ol {
    color: var(--text-secondary);
    margin-left: 20px;
    margin-bottom: 16px;
}

.compatibility-info li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.check-steps {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid var(--primary-yellow);
    padding: 20px 20px 20px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
    list-style: none;
    counter-reset: steps;
}

.check-steps li {
    margin-bottom: 14px;
    padding-left: 36px;
    position: relative;
    line-height: 1.5;
    counter-increment: steps;
}

.check-steps li:last-child {
    margin-bottom: 0;
}

.check-steps li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-bee);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.compatibility-info .note {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.compatibility-info .btn-primary {
    margin-top: 24px;
    width: 100%;
    text-align: center;
}

/* Compatibility Button in Spec Table */
.compatibility-btn {
    display: inline-block;
    padding: 6px 14px;
    margin-left: 12px;
    background: transparent;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.compatibility-btn:hover {
    background: var(--primary-yellow);
    color: var(--bg-dark);
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    margin-top: 8px;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 16px;
    }

    .modal-content {
        padding: 28px 24px;
        max-height: 90vh;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.5rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
        padding-right: 40px;
    }

    .compatibility-btn {
        display: block;
        margin: 8px 0 0 0;
        width: 100%;
        text-align: center;
    }
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}