/* ============================================================
   Product Detail Page Styles
   ============================================================ */

.product-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 60px) 40px 60px;
  position: relative;
}

.product-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-text .product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg-panel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

.product-hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--violet-soft), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-hero-text .product-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.product-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 300px at 30% 30%, rgba(124, 92, 255, 0.2), transparent 60%),
    radial-gradient(300px 250px at 70% 70%, rgba(34, 224, 255, 0.15), transparent 60%);
}

.product-hero-icon {
  font-size: 120px;
  position: relative;
  z-index: 1;
  animation: float-product 4s ease-in-out infinite;
}

@keyframes float-product {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Product browser mock */
.product-browser {
  width: 90%;
  height: 80%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-dark);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.product-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
}

.product-browser-dots {
  display: flex;
  gap: 6px;
}

.product-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.product-browser-dots span:nth-child(1) { background: #ff5f57; }
.product-browser-dots span:nth-child(2) { background: #febc2e; }
.product-browser-dots span:nth-child(3) { background: #28c840; }

.product-browser-body {
  padding: 16px;
  height: calc(100% - 40px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}

.pbb-side {
  background: var(--bg-panel);
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 12px;
}

.pbb-main {
  background: var(--bg-panel);
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.pbb-wave {
  flex: 1;
  background: 
    repeating-linear-gradient(90deg, transparent, transparent 8px, rgba(124,92,255,0.1) 8px, rgba(124,92,255,0.1) 9px),
    linear-gradient(180deg, transparent 48%, var(--violet) 48%, var(--violet) 52%, transparent 52%);
  border-radius: 6px;
  opacity: 0.6;
}

.pbb-btn-row {
  display: flex;
  gap: 6px;
}

.pbb-btn {
  flex: 1;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
}

.pbb-btn.primary {
  background: linear-gradient(100deg, var(--violet), var(--magenta));
  border: none;
}

/* ============ FEATURE DETAILS ============ */
.features-detail {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row.reverse .feature-text {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "✦";
  color: var(--cyan);
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(300px 200px at 50% 50%, rgba(124, 92, 255, 0.15), transparent 70%);
}

.feature-visual-icon {
  font-size: 80px;
  position: relative;
  z-index: 1;
}

/* Visualization mock styles */
.vis-waveform {
  width: 80%;
  height: 120px;
  position: relative;
  z-index: 1;
}

.vis-waveform svg {
  width: 100%;
  height: 100%;
}

.vis-grid {
  width: 80%;
  height: 180px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
}

.vis-grid-item {
  background: var(--bg-panel-2);
  border-radius: 4px;
  border: 1px solid var(--line);
}

.vis-grid-item.active {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border: none;
  opacity: 0.8;
}

/* ============ SPECS / TECH ============ */
.specs-section {
  max-width: 1200px;
  margin: 0 auto;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.spec-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
}

.spec-card .spec-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.spec-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.spec-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.spec-card .spec-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--violet-soft), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 8px;
}

/* ============ USE CASES ============ */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.usecase-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  transition: var(--transition);
}

.usecase-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-4px);
}

.usecase-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.usecase-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.usecase-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .product-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-row.reverse .feature-text {
    order: 1;
  }
  
  .feature-row.reverse .feature-visual {
    order: 2;
  }
  
  .product-hero {
    padding: calc(var(--nav-height) + 40px) 20px 40px;
  }
}
