/* ═══════════════════════════════════════════════════════════
   Product Page — Shared Styles
   ═══════════════════════════════════════════════════════════ */

section { position: relative; padding: clamp(64px, 10vh, 110px) var(--pad-x); }

/* ── HERO ── */
.product-hero {
    background: var(--bg-cool);
    padding: 48px var(--pad-x) clamp(48px, 8vh, 90px);
    border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.product-hero::before {
    content: ''; position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.10), transparent 70%);
    pointer-events: none;
}
.product-hero-grid {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: start;
    position: relative; z-index: 1;
}

/* Gallery */
.gallery {
    display: flex; flex-direction: column; gap: 12px;
    position: sticky; top: 90px;
}
.gallery-main {
    position: relative; aspect-ratio: 4 / 3;
    background: var(--bg-deep); overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 25px 50px -15px rgba(15,23,42,0.18),
                0 8px 20px -8px rgba(37,99,235,0.15);
}
.gallery-main::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 30% 30%, rgba(6,182,212,0.15), transparent 60%),
      radial-gradient(ellipse at 70% 70%, rgba(37,99,235,0.30), transparent 60%);
    z-index: 1;
}
.gallery-main img,
.gallery-main svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}
.gallery-main img.gallery-slide.active,
.gallery-main svg.gallery-slide.active { opacity: 1; }
.gallery-main .corner {
    position: absolute; width: 18px; height: 18px;
    border-color: rgba(255,255,255,0.4); z-index: 4;
}
.gallery-main .corner.tl { top:14px; left:14px; border-top:1px solid; border-left:1px solid; }
.gallery-main .corner.tr { top:14px; right:14px; border-top:1px solid; border-right:1px solid; }
.gallery-main .corner.bl { bottom:14px; left:14px; border-bottom:1px solid; border-left:1px solid; }
.gallery-main .corner.br { bottom:14px; right:14px; border-bottom:1px solid; border-right:1px solid; }
.gallery-main .meta-strip {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px 22px;
    display: flex; justify-content: space-between;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    z-index: 5; pointer-events: none;
}
.gallery-main .meta-strip .reading { color: var(--cyan); }

.gallery-thumbs {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.gallery-thumb {
    position: relative; aspect-ratio: 1;
    background: var(--bg-deep);
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}
.gallery-thumb:hover { border-color: var(--brand); }
.gallery-thumb.active {
    border-color: var(--brand);
    border-width: 2px;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.gallery-thumb img,
.gallery-thumb svg {
    width: 100%; height: 100%; object-fit: cover;
}
.gallery-thumb-num {
    position: absolute; top: 5px; left: 7px;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-mono); font-size: 9px;
    letter-spacing: 0.08em; z-index: 2;
    font-weight: 600;
}

/* Product info */
.product-info { padding-top: 8px; }
.product-tag-row {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-mute); margin-bottom: 22px;
    font-weight: 600;
}
.product-tag-row .badge {
    background: var(--grad-brand); color: white;
    padding: 5px 12px; border-radius: 999px;
}
.product-name {
    font-family: var(--font-serif); font-weight: 700;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.05; letter-spacing: -0.025em;
    color: var(--ink); margin-bottom: 8px;
}
.product-name-en {
    font-family: var(--font-display); font-style: italic;
    font-weight: 500; font-size: 22px;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 26px;
}
.product-desc {
    font-size: 15.5px; line-height: 1.9;
    color: var(--ink-soft); margin-bottom: 30px;
}
.product-desc strong { color: var(--ink); font-weight: 600; }

.quick-specs {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0; margin-bottom: 30px;
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.quick-spec {
    border-right: 1px solid var(--line);
    padding-right: 14px;
}
.quick-spec:last-child { border-right: none; }
.quick-spec .v {
    font-family: var(--font-display); font-style: italic;
    font-weight: 500; font-size: 26px;
    color: var(--ink); line-height: 1;
    margin-bottom: 6px; letter-spacing: -0.02em;
}
.quick-spec .v em {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}
.quick-spec .k {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--ink-mute); letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (max-width: 600px) {
    .quick-specs { grid-template-columns: repeat(2, 1fr); }
    .quick-spec:nth-child(2n) { border-right: none; }
}

.cta-cluster { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.note-strip {
    padding: 14px 18px;
    background: var(--bg);
    border-left: 3px solid var(--cyan);
    border-radius: 0 8px 8px 0;
    font-size: 12.5px; line-height: 1.7;
    color: var(--ink-soft);
}
.note-strip strong { color: var(--ink); font-weight: 600; }

@media (max-width: 940px) {
    .product-hero-grid { grid-template-columns: 1fr; }
    .gallery { position: static; }
}

/* ── KEY FEATURES ── */
.features { background: var(--bg); }
.features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.feature-card {
    padding: 36px 32px;
    background: var(--bg-cool);
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex; flex-direction: column;
    transition: all 0.3s;
}
.feature-card:hover {
    background: white;
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -15px rgba(37,99,235,0.15);
}
.feature-num {
    font-family: var(--font-display); font-style: italic;
    font-weight: 500; font-size: 26px;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px; line-height: 1;
}
.feature-card h3 {
    font-family: var(--font-serif); font-weight: 700;
    font-size: 21px; line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--ink); margin-bottom: 6px;
}
.feature-card .sub {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--ink-mute); margin-bottom: 14px;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.feature-card p {
    font-size: 14px; color: var(--ink-soft);
    line-height: 1.9; flex: 1;
}
.feature-card p strong { color: var(--ink); font-weight: 600; }
.feature-card .data {
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.feature-card .data .v {
    font-family: var(--font-display); font-style: italic;
    font-size: 20px; color: var(--ink);
    line-height: 1; margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.feature-card .data .v em {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}
.feature-card .data .k {
    font-family: var(--font-mono); font-size: 9.5px;
    color: var(--ink-mute); letter-spacing: 0.08em;
    text-transform: uppercase;
}
@media (max-width: 760px) { .features-grid { grid-template-columns: 1fr; } }

/* ── DETAILED SPECS ── */
.specs-section { background: var(--bg-cool); border-block: 1px solid var(--line); }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec-block {
    background: white; border: 1px solid var(--line);
    border-radius: 14px;
    padding: 30px 32px;
}
.spec-block .head {
    display: flex; align-items: baseline; gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.spec-block .head .num {
    font-family: var(--font-mono); font-size: 11px;
    color: var(--brand); letter-spacing: 0.12em;
    font-weight: 600;
}
.spec-block .head h3 {
    font-family: var(--font-serif); font-weight: 700;
    font-size: 18px; color: var(--ink);
    letter-spacing: -0.005em;
}
.spec-block dl {
    display: grid; grid-template-columns: 130px 1fr;
}
.spec-block dt {
    font-family: var(--font-mono); font-size: 10.5px;
    color: var(--ink-mute); letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    align-self: center;
}
.spec-block dd {
    font-size: 14px; color: var(--ink);
    font-weight: 500;
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
}
.spec-block dl > div:last-child dt,
.spec-block dl > div:last-child dd { border-bottom: none; }
.spec-block dd em {
    font-style: normal; color: var(--brand);
    font-family: var(--font-mono); font-size: 10.5px;
    margin-left: 4px;
}
@media (max-width: 760px) {
    .specs-grid { grid-template-columns: 1fr; }
    .spec-block dl { grid-template-columns: 110px 1fr; }
}

/* ── USE CASES ── */
.usecases { background: var(--bg); }
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.usecase-card {
    background: var(--bg-cool);
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: all 0.3s;
    display: flex; flex-direction: column;
    min-height: 200px;
    position: relative; overflow: hidden;
}
.usecase-card::before {
    content: ''; position: absolute;
    bottom: -100%; left: 0; right: 0; height: 100%;
    background: var(--grad-brand);
    opacity: 0.04;
    transition: bottom 0.5s ease;
}
.usecase-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand);
    box-shadow: 0 20px 40px -15px rgba(37,99,235,0.15);
}
.usecase-card:hover::before { bottom: 0; }
.usecase-card .num {
    font-family: var(--font-mono); font-size: 10.5px;
    color: var(--brand); letter-spacing: 0.12em;
    margin-bottom: 14px; font-weight: 600;
}
.usecase-card h3 {
    font-family: var(--font-serif); font-weight: 700;
    font-size: 17px; color: var(--ink);
    margin-bottom: 12px; line-height: 1.4;
    letter-spacing: -0.005em;
}
.usecase-card p {
    font-size: 13.5px; color: var(--ink-soft);
    line-height: 1.85; flex: 1;
}
@media (max-width: 880px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ── VIDEO ── */
.video-section {
    background: var(--bg-deep);
    color: white;
    border-block: 1px solid var(--line-deep);
    overflow: hidden;
}
.video-section::before {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
    pointer-events: none;
}
.video-section .section-head { position: relative; z-index: 1; }
.video-section .section-head h2 { color: white; }
.video-section .section-head .lede { color: rgba(255,255,255,0.78); }
.video-section .section-head .lede strong { color: white; }
.video-section .section-head-meta .num { color: var(--cyan); }
.video-section .section-head-meta .div { background: var(--grad-brand); }
.video-section .section-head-meta .tag { color: rgba(255,255,255,0.5); }

.video-grid {
    display: grid; grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    position: relative; z-index: 1;
}
.video-main {
    aspect-ratio: 16 / 9;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-deep);
    border-radius: 12px;
    position: relative; overflow: hidden;
    cursor: pointer;
}
.video-main iframe { width: 100%; height: 100%; border: none; }
.video-main .placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    text-align: center; padding: 40px;
}
.video-main .placeholder .play {
    width: 78px; height: 78px;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px; transition: all 0.3s;
    background: rgba(255,255,255,0.04);
}
.video-main:hover .placeholder .play {
    border-color: var(--cyan); color: var(--cyan);
    background: rgba(6,182,212,0.10);
}
.video-main .placeholder .play::after {
    content: ''; width: 0; height: 0;
    border-left: 16px solid currentColor;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}
.video-main .placeholder h4 {
    font-family: var(--font-serif); font-weight: 600;
    font-size: 19px; color: white;
    margin-bottom: 6px; letter-spacing: -0.005em;
}
.video-main .placeholder .label {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.video-list { display: flex; flex-direction: column; gap: 8px; }
.video-list-item {
    display: grid; grid-template-columns: 90px 1fr;
    gap: 14px; padding: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line-deep);
    border-radius: 10px;
    cursor: pointer; transition: all 0.25s;
    align-items: center;
}
.video-list-item:hover, .video-list-item.active {
    border-color: var(--cyan);
    background: rgba(6,182,212,0.06);
}
.video-list-item .thumb {
    aspect-ratio: 16 / 9;
    background: rgba(255,255,255,0.06);
    position: relative; overflow: hidden;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
}
.video-list-item .thumb::after {
    content: ''; width: 0; height: 0;
    border-left: 10px solid rgba(255,255,255,0.7);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 3px;
}
.video-list-item .meta .label {
    font-family: var(--font-mono); font-size: 9px;
    color: var(--cyan); letter-spacing: 0.14em;
    margin-bottom: 4px; text-transform: uppercase;
    font-weight: 600;
}
.video-list-item .meta h4 {
    font-family: var(--font-serif); font-weight: 600;
    font-size: 13px; color: white;
    line-height: 1.45; letter-spacing: -0.005em;
}
.video-list-item .meta .duration {
    font-family: var(--font-mono); font-size: 10px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
@media (max-width: 940px) { .video-grid { grid-template-columns: 1fr; } }

/* ── DOWNLOAD BAND ── */
.download-band { background: var(--bg-cool); border-bottom: 1px solid var(--line); }
.download-band-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto;
    gap: 36px;
    padding: 48px 56px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    align-items: center;
    box-shadow: 0 20px 50px -20px rgba(15,23,42,0.08);
}
.download-band-inner h3 {
    font-family: var(--font-serif); font-weight: 700;
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--ink); margin-bottom: 12px;
    letter-spacing: -0.01em; line-height: 1.3;
}
.download-band-inner h3 em {
    font-family: var(--font-display); font-style: italic;
    font-weight: 500;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.download-band-inner p {
    font-size: 14px; color: var(--ink-soft);
    line-height: 1.85; max-width: 520px;
}
.download-band-inner p strong { color: var(--ink); font-weight: 600; }
.download-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 760px) {
    .download-band-inner { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ── INQUIRY CTA ── */
.cta-band {
    background: var(--bg-deep);
    color: white;
    padding: clamp(64px, 10vh, 100px) var(--pad-x);
    position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.25), transparent 60%),
      radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.20), transparent 60%);
    pointer-events: none;
}
.cta-band-inner {
    max-width: 880px; margin: 0 auto;
    text-align: center;
    position: relative; z-index: 1;
}
.cta-band-inner .eyebrow { color: var(--cyan); margin-bottom: 22px; display: inline-flex; }
.cta-band-inner h2 {
    font-family: var(--font-serif); font-weight: 700;
    font-size: clamp(32px, 4.4vw, 56px);
    line-height: 1.1; color: white;
    margin-bottom: 22px; letter-spacing: -0.025em;
}
.cta-band-inner h2 .grad {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-band-inner h2 em {
    font-family: var(--font-display); font-style: italic;
    font-weight: 500; color: var(--cyan);
}
.cta-band-inner p {
    font-size: 16px; color: rgba(255,255,255,0.78);
    line-height: 1.85; margin-bottom: 32px;
    max-width: 600px; margin-inline: auto;
}
.cta-band-inner p strong { color: white; font-weight: 500; }
.cta-band-actions {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap;
}
.cta-band-actions .btn-primary { background: var(--cyan); border-color: var(--cyan); color: white; }
.cta-band-actions .btn-primary::before { background: var(--brand); }
.cta-band-actions .btn-secondary {
    color: white; border-color: rgba(255,255,255,0.4);
}
.cta-band-actions .btn-secondary:hover {
    background: white; color: var(--ink); border-color: white;
}

/* ── RELATED ── */
.related { background: var(--bg); }
.related-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.related-card {
    background: var(--bg-cool);
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none; color: inherit;
    display: grid; grid-template-columns: 88px 1fr;
    gap: 22px; align-items: center;
    transition: all 0.3s;
}
.related-card:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 20px 40px -15px rgba(37,99,235,0.15);
}
.related-card .img {
    aspect-ratio: 1;
    background: var(--bg-deep);
    border-radius: 10px;
    position: relative; overflow: hidden;
}
.related-card .img svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
}
.related-card .info .label {
    font-family: var(--font-mono); font-size: 10px;
    color: var(--brand); letter-spacing: 0.12em;
    text-transform: uppercase; margin-bottom: 6px;
    font-weight: 600;
}
.related-card .info h3 {
    font-family: var(--font-serif); font-weight: 700;
    font-size: 20px; color: var(--ink);
    margin-bottom: 4px; letter-spacing: -0.01em;
}
.related-card .info .name-en {
    font-family: var(--font-display); font-style: italic;
    font-weight: 500; font-size: 13px;
    color: var(--cyan-deep); margin-bottom: 10px;
}
.related-card .info p {
    font-size: 12.5px; color: var(--ink-soft);
    line-height: 1.75;
}
.related-card .arrow {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px;
    font-family: var(--font-mono); font-size: 10.5px;
    color: var(--ink); letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: gap 0.3s, color 0.3s;
    font-weight: 600;
}
.related-card:hover .arrow { color: var(--brand); gap: 12px; }
.related-card .arrow svg { width: 11px; height: 11px; }
@media (max-width: 760px) {
    .related-grid { grid-template-columns: 1fr; }
    .related-card { grid-template-columns: 72px 1fr; gap: 18px; padding: 22px; }
}
