/* ═══════════════════════════════════════════════════════════
   IJS Website - Product & Technology Page Styles
   Product cards, detail pages, features, tech slider, R&D
   ═══════════════════════════════════════════════════════════ */

/* ── Product Section (Home card grid) ── */
.product-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.product-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-bg {
    transform: scale(1.08);
}

.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-8);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.product-card-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-2);
}

.product-card-desc {
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* ── Product Detail Page ── */
.product-detail {
    padding: var(--space-16) 0;
}

.product-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-10);
}

.product-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.product-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.product-process-step {
    text-align: center;
    padding: var(--space-6);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.product-process-step:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ijs-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-3);
}

/* ── Product Detail Info ── */
.product-detail-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.product-detail-title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-4);
}

.product-detail-desc {
    font-size: var(--text-lg);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.product-process-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: var(--space-8);
}

.product-process-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Product Feature Cards ── */
.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.product-feature {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--ijs-border-light);
    text-align: center;
    transition: all var(--transition-normal);
}
.product-feature:hover {
    border-color: var(--ijs-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.product-feature i {
    font-size: 36px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
    display: block;
}
.product-feature h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}
.product-feature p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* Product footnote (disclaimer) */
.product-footnote {
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-4);
    border-left: 3px solid var(--ijs-border);
    color: var(--ijs-text-muted);
}
.product-footnote small {
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
}

/* Product applications list */
.product-apps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    max-width: 700px;
    margin: 0 auto;
}
.product-app-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--ijs-bg-gray);
    border-radius: var(--radius-md);
}
.product-app-item i {
    font-size: 24px;
    color: var(--ijs-primary);
    flex: 0 0 auto;
}
.product-app-item span {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

/* Product CTA */
.product-cta {
    text-align: center;
    padding: var(--space-10) 0;
}

/* Partnership benefits */
.partnership-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.partnership-benefit {
    text-align: center;
    padding: var(--space-6);
}
.partnership-benefit i {
    font-size: 40px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
    display: block;
}
.partnership-benefit h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}
.partnership-benefit p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* R&D capability cards */
.rnd-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.rnd-cap-card {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--ijs-border-light);
    transition: all var(--transition-normal);
}
.rnd-cap-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.rnd-cap-card i {
    font-size: 32px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
    display: block;
}
.rnd-cap-card h3 {
    font-size: var(--text-base);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-2);
}
.rnd-cap-card p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* Contact extra info */
.contact-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}
.contact-extra-item {
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ijs-border);
    text-align: center;
}
.contact-extra-item i {
    font-size: 32px;
    color: var(--ijs-primary);
    margin-bottom: var(--space-3);
}
.contact-extra-item h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin-bottom: var(--space-3);
}
.contact-extra-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-extra-item li {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
    padding: var(--space-1) 0;
}
.contact-extra-item p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* ── Technology Slider ── */
.technology-swiper {
    margin-top: var(--space-6);
    position: relative;
    padding-top: 48px;
}

.technology-swiper .swiper-button-prev,
.technology-swiper .swiper-button-next {
    top: 0;
    bottom: auto;
    width: 40px;
    height: 40px;
    margin-top: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--ijs-border-light);
    background: white;
    color: var(--ijs-text);
}

.technology-swiper .swiper-button-prev::after,
.technology-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
    color: var(--ijs-text);
}

.technology-swiper .swiper-button-prev:hover,
.technology-swiper .swiper-button-next:hover {
    background: var(--ijs-dark);
    color: white;
    border-color: var(--ijs-dark);
}

.technology-swiper .swiper-button-prev:hover::after,
.technology-swiper .swiper-button-next:hover::after {
    color: white;
}

.technology-swiper .swiper-button-prev {
    left: auto;
    right: 52px;
}

.technology-swiper .swiper-button-next {
    right: 0;
}

.technology-swiper .swiper-pagination {
    position: absolute;
    top: 12px;
    bottom: auto;
    left: 0;
    width: auto;
    text-align: left;
}

.technology-swiper .swiper-pagination-bullet {
    background: var(--ijs-text-muted);
}

.technology-swiper .swiper-pagination-bullet-active {
    background: var(--ijs-primary);
}

.tech-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    padding: var(--space-6);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--ijs-border-light);
}

.tech-slide-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tech-slide-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tech-slide-content {
    padding: var(--space-4);
}

.tech-slide-title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin-bottom: var(--space-4);
}

.tech-slide-text {
    font-size: var(--text-base);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
}

/* ═══════════════════════════════════════════════════════════
   TECHNOLOGY — Process Grid
   ═══════════════════════════════════════════════════════════ */
.tech-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-process-step {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--ijs-border-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tech-process-step:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.tech-process-num {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    color: var(--ijs-primary-light);
    line-height: 1;
    pointer-events: none;
}

.tech-process-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--ijs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.tech-process-step h3 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--ijs-dark);
    margin: 0 0 8px;
}

.tech-process-step p {
    font-size: var(--text-sm);
    color: var(--ijs-text-light);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   TECHNOLOGY — Spec Table (enhanced readability)
   ═══════════════════════════════════════════════════════════ */
.tech-spec-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    table-layout: fixed;
}

.tech-spec-table thead th {
    padding: 16px 24px;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid var(--ijs-primary);
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
}

.tech-spec-table thead th:first-child {
    width: 35%;
}

.tech-spec-table tbody td {
    padding: 14px 24px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
    line-height: 1.6;
}

.tech-spec-table tbody tr:last-child td {
    border-bottom: none;
}

.tech-spec-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.025);
}

.tech-spec-table tbody tr:hover {
    background: rgba(208, 17, 100, 0.06);
    transition: background 0.15s ease;
}

.tech-spec-table tbody td:first-child {
    font-weight: var(--weight-semibold);
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    position: relative;
    padding-left: 32px;
    font-size: var(--text-sm);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-spec-table tbody td:first-child::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--ijs-primary);
    border-radius: 50%;
    opacity: 0.7;
}

.tech-spec-table tbody td:last-child {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    letter-spacing: 0.01em;
    color: #fff;
}
