/* Product Detail Page - Extracted from inline styles */
:root {
  --primary: #003B5C;
  --primary-light: #005A8C;
  --accent: #00A6D6;
  --accent-light: #40C4E8;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-100: #F0F2F5;
  --gray-200: #E2E6EC;
  --gray-300: #C0C8D4;
  --gray-600: #6E7985;
  --gray-800: #2D3540;
  --dark: #0D1B2A;
  --gradient-soft: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  --shadow-sm: 0 4px 12px rgba(0, 59, 92, 0.05);
  --shadow-md: 0 12px 40px rgba(0, 59, 92, 0.08);
  --shadow-lg: 0 20px 80px rgba(0, 59, 92, 0.12);
  --shadow-card: 0 16px 48px rgba(0, 166, 214, 0.15);
  --radius: 20px;
  --radius-lg: 32px
}

* { margin: 0; padding: 0; box-sizing: border-box }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100% }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); overflow-x: hidden; line-height: 1.6; max-width: 100vw }

::-webkit-scrollbar { width: 8px }
::-webkit-scrollbar-track { background: var(--off-white) }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px }

/* BREADCRUMB */
.breadcrumb { padding: 16px 4% 0; max-width: 1300px; margin: 0 auto; width: 100%; box-sizing: border-box; position: relative; z-index: 2 }
.breadcrumb a { color: var(--accent); text-decoration: none; font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: color .3s }
.breadcrumb a:hover { color: var(--primary) }
.breadcrumb span { color: var(--gray-300); margin: 0 8px }

/* STICKY TABS */
.sticky-tabs { position: fixed; top: 80px; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-200); padding: 0 4%; width: 100%; box-sizing: border-box; opacity: 0; transform: translateY(-100%); pointer-events: none; transition: opacity .35s ease, transform .35s ease }
.sticky-tabs.visible { opacity: 1; transform: translateY(0); pointer-events: auto }
.tabs-inner { max-width: 1300px; margin: 0 auto; display: flex; gap: 0; overflow-x: auto }
.tab-link { padding: 16px 28px; font-size: .88rem; font-weight: 600; color: var(--gray-600); text-decoration: none; border-bottom: 3px solid transparent; transition: all .3s; white-space: nowrap }
.tab-link:hover, .tab-link.active { color: var(--primary); border-bottom-color: var(--accent) }
.tab-short { display: none }
.tab-full { display: inline }

/* PRODUCT HERO */
.hero-wrapper { background: var(--gradient-soft); width: 100%; padding: 100px 0 40px }
.product-hero { max-width: 1400px; margin: 0 auto; padding: 0 4%; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center }
.product-visual { position: relative; width: 100%; height: 460px; transform: translateY(-20px) }
model-viewer { width: 100%; height: 100%; --poster-color: transparent; outline: none; border: none !important }
model-viewer::part(default-progress-bar) { display: none }
.product-details h1 { font-weight: 200; font-size: clamp(2.8rem, 5vw, 3.8rem); color: var(--primary); margin-bottom: 1.2rem; letter-spacing: -0.03em; line-height: 1.1 }
.product-details { opacity: 1 !important; filter: none !important; transform: none !important }
.reveal { opacity: 1 !important; filter: none !important; transform: none !important }
.product-model { font-size: .95rem; color: var(--accent); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2rem; padding-left: 20px; border-left: 3px solid var(--accent); line-height: 1.4 }
.product-desc { color: var(--gray-600); font-size: 1.08rem; margin-bottom: 2.5rem; line-height: 1.85; font-weight: 300; max-width: 520px }
.product-highlights { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 12px }
.product-highlights li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--gray-800); font-size: .93rem }
.product-highlights li .check { width: 26px; height: 26px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .75rem; box-shadow: 0 4px 12px rgba(0, 166, 214, 0.25) }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 18px 48px; border-radius: 100px; font-weight: 500; font-size: 1.05rem; transition: all .4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; font-family: inherit }
.btn-accent { background: var(--primary); color: var(--white); border: none }
.btn-accent:hover { background: var(--primary-light); transform: scale(1.02); box-shadow: 0 12px 40px rgba(61, 29, 128, 0.2) }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary) }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: scale(1.02); box-shadow: 0 12px 40px rgba(0, 59, 92, 0.2) }
.btn-group { display: flex; gap: 20px; justify-content: center }

/* EXTENDED DESC */
.extended-section { max-width: 1300px; margin: 0 auto; padding: 0 4% 80px }
.extended-section p { color: var(--gray-600); font-size: 1.05rem; line-height: 1.8 }

/* DESIGNED FOR */
.designed-section { padding: 100px 4%; background: var(--off-white) }
.designed-inner { max-width: 1300px; margin: 0 auto }
.designed-inner>h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--primary); margin-bottom: 48px; text-align: center }
.designed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px }
.designed-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; border: 1px solid var(--gray-200); transition: all .4s }
.designed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--accent) }
.designed-card .icon { width: 56px; height: 56px; background: var(--gradient-accent); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) }
.designed-card:hover .icon { transform: scale(1.15) }
.designed-card .icon svg { width: 32px; height: 32px; display: block }
.designed-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 10px; font-weight: 700 }
.designed-card p { color: var(--gray-600); font-size: .92rem; line-height: 1.6 }

/* SPECS */
.specs-section { padding: 100px 4%; background: var(--white) }
.specs-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start }
.specs-inner>h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--primary); margin-bottom: 32px; grid-column: 1/-1 }
.specs-table { width: 100% }
.specs-table table { width: 100%; border-collapse: collapse }
.specs-table tr { border-bottom: 1px solid var(--gray-100) }
.specs-table tr:hover { background: var(--off-white) }
.specs-table td { padding: 14px 16px; font-size: .9rem; vertical-align: top }
.specs-table td:first-child { font-weight: 700; color: var(--primary); width: 40%; white-space: nowrap }
.specs-table td:last-child { color: var(--gray-600) }
.specs-illustration { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--off-white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--gray-200); min-height: 400px; position: relative }
.image-toggle-selector { display: flex; gap: 0; background: var(--white); border-radius: 100px; padding: 4px; margin-bottom: 24px; box-shadow: 0 2px 8px rgba(0, 59, 92, 0.08); z-index: 10 }
.toggle-btn { padding: 10px 24px; border: none; background: transparent; color: var(--gray-600); font-weight: 600; font-size: 0.9rem; border-radius: 100px; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); font-family: inherit }
.toggle-btn.active { background: var(--accent); color: var(--white); box-shadow: 0 4px 12px rgba(0, 166, 214, 0.3) }
.toggle-btn:hover:not(.active) { background: var(--gray-100); color: var(--primary) }
.spec-images-container { position: relative; width: 100%; height: 400px; max-height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden }
.spec-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; opacity: 0; pointer-events: none; transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1); object-fit: contain }
.spec-image.active { opacity: 1; pointer-events: auto; z-index: 1 }

/* VIDEOS */
.videos-section { padding: 100px 4%; background: var(--off-white) }
.videos-inner { max-width: 1300px; margin: 0 auto }
.videos-inner>h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--primary); margin-bottom: 48px }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px }
.video-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); cursor: pointer; transition: all .4s }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--accent) }
.video-thumb { position: relative; width: 100%; height: 200px; overflow: hidden }
.video-thumb img { width: 100%; height: 100%; object-fit: cover }
.video-thumb .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0, 166, 214, 0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .3s }
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1) }
.video-info { padding: 16px 20px }
.video-info h3 { font-size: 1rem; color: var(--primary); font-weight: 700; margin-bottom: 4px }
.video-info p { font-size: .85rem; color: var(--gray-600) }

/* VIDEO MODAL */
.video-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 10000; align-items: center; justify-content: center }
.video-modal.active { display: flex }
.video-modal-content { width: 90%; max-width: 900px; aspect-ratio: 16/9; position: relative }
.video-modal-content iframe { width: 100%; height: 100%; border: none; border-radius: 12px }
.video-modal-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 2rem; cursor: pointer }

/* PUBLICATIONS */
.publications-section { padding: 100px 4%; background: var(--white) }
.publications-inner { max-width: 1300px; margin: 0 auto }
.publications-inner>h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--primary); margin-bottom: 48px }
.publication-item { padding: 24px 0; border-bottom: 1px solid var(--gray-100) }
.publication-item a { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 1rem; transition: color .3s }
.publication-item a:hover { color: var(--accent) }
.publication-item .citation { font-size: .85rem; color: var(--gray-600); margin-top: 4px }
.publication-item .authors { font-size: .85rem; color: var(--gray-600); font-style: italic; margin-top: 2px }

/* CONTACT */
.contact-cta { padding: 80px 4%; background: var(--primary); position: relative; overflow: hidden; min-height: 500px; display: flex; align-items: center }
.contact-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.6; filter: brightness(0.8) }
.contact-cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0, 59, 92, 0.5) 0%, rgba(0, 166, 214, 0.4) 100%); z-index: 1; pointer-events: none }
.contact-cta-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; width: 100% }
.contact-cta-text h2 { font-family: var(--font-heading); font-size: 2rem; color: var(--white); margin-bottom: 1rem; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) }
.contact-cta-text p { color: rgba(255, 255, 255, 0.9); font-size: 1rem; margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) }
.contact-card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); padding: 32px; backdrop-filter: blur(20px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease }
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4) }
.contact-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 16px; font-weight: 700 }
.contact-row { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.7); font-size: .9rem; margin-bottom: 10px }
.contact-row.has-label { align-items: flex-start }
.contact-row.has-label .contact-icon { margin-top: 2px }
.contact-row a { color: var(--accent-light); text-decoration: none }
.contact-row a:hover { text-decoration: underline }
.contact-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,0.5); margin-bottom: 2px; font-weight: 600 }
.contact-icon { width: 36px; height: 36px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }

/* RELATED PRODUCTS */
.related-section { padding: 100px 4%; background: var(--off-white); position: relative; overflow: hidden }
.related-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--gradient-accent); border-radius: 2px }
.related-inner { max-width: 1300px; margin: 0 auto }
.related-inner>h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2rem); color: var(--primary); margin-bottom: 12px; text-align: center; font-weight: 700 }
.related-subtitle { text-align: center; color: var(--gray-600); font-size: .95rem; margin-bottom: 48px; font-weight: 300 }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px }
.related-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid transparent; transition: all .5s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; color: inherit; box-shadow: 0 4px 20px rgba(0, 59, 92, 0.06); position: relative }
.related-card::after { content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 3px; background: var(--gradient-accent); border-radius: 2px 2px 0 0; opacity: 0; transition: opacity .4s }
.related-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0, 166, 214, 0.18); border-color: rgba(0, 166, 214, 0.15) }
.related-card:hover::after { opacity: 1 }
.related-card .card-thumb { height: 220px; background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--gray-200); position: relative; overflow: hidden }
.related-card .card-thumb model-viewer { pointer-events: none }
.related-card .card-info { padding: 28px 28px 32px; text-align: center }
.related-card .card-info h3 { font-size: 1.15rem; color: var(--primary); font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em }
.related-card .card-tagline { font-size: .82rem; color: var(--gray-600); margin: 0; line-height: 1.5; font-weight: 400 }
.related-card .card-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--accent); margin-top: 16px; opacity: 0; transform: translateX(-8px); transition: all .4s }
.related-card:hover .card-arrow { opacity: 1; transform: translateX(0) }

/* SCROLL REVEAL ANIMATIONS */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1) }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0) }
.scroll-reveal-delay-1 { transition-delay: .1s }
.scroll-reveal-delay-2 { transition-delay: .2s }
.scroll-reveal-delay-3 { transition-delay: .3s }

/* RESPONSIVE */
@media(max-width:968px) {
  .hero-wrapper { padding: 80px 0 24px }
  .product-hero { grid-template-columns: 1fr; gap: 24px }
  .product-visual { height: 340px; transform: none }
  .specs-inner { grid-template-columns: 1fr }
  .designed-grid { grid-template-columns: 1fr }
  .contact-cta-inner { grid-template-columns: 1fr }
  .related-grid { grid-template-columns: 1fr 1fr }
  .sticky-tabs { top: 70px }
  .tabs-inner { overflow-x: visible; justify-content: space-between; width: 100% }
  .tab-link { padding: 14px 12px; font-size: .8rem; flex: 1; text-align: center }
  .tab-full { display: none }
  .tab-short { display: inline }
}

@media(max-width:640px) {
  .hero-wrapper { padding: 74px 0 16px }
  .breadcrumb { padding: 8px 4% 0; font-size: 0.82rem }
  .product-hero { padding: 16px 4% 24px; gap: 16px }
  .product-visual { height: 280px }
  .product-details h1 { font-size: 1.8rem }
  .product-model { font-size: .8rem; margin-bottom: 1rem }
  .product-desc { font-size: .95rem; margin-bottom: 1.5rem }
  .related-grid { grid-template-columns: 1fr }
  .videos-grid { grid-template-columns: 1fr }
  * { max-width: 100%; box-sizing: border-box }
}
