/* Product Page 2026 Modern Aesthetic & Interactive Styling */

.productHero {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: radial-gradient(circle at 50% -20%, rgba(31, 107, 69, 0.14) 0%, rgba(31, 107, 69, 0.02) 60%, transparent 85%),
              var(--background);
  text-align: center;
  overflow: hidden;
}

[data-theme="dark"] .productHero {
    background: radial-gradient(circle at 50% -20%, rgba(62, 207, 122, 0.18) 0%, rgba(62, 207, 122, 0.03) 65%, transparent 90%),
                var(--background);
}

.productHeroInner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  position: relative;
  z-index: 1;
}

.productHeroBadge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--primary-soft);
  border: 1px solid var(--primary-soft-border);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.productHeroBadge .badgeDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.productHeroTitle {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  color: var(--foreground);
}

.productHeroSub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 58ch;
  margin: 0 auto 2.25rem;
  line-height: 1.55;
}

.productHeroActions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.25rem;
  flex-wrap: wrap;
}

/* Full-Bleed Metrics Band */
.productMetricsBand {
  width: 100%;
  background: var(--card-soft, rgba(255, 255, 255, 0.03));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .productMetricsBand {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

.productMetricsBandInner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metricItem {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}

.productMetricsBand .metricItem:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
  opacity: 0.6;
}

.metricItemValue {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.metricItemLabel {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  font-weight: 600;
  letter-spacing: 0.03em;
}

@media (max-width: 768px) {
  .productMetricsBandInner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
  }

  .productMetricsBand .metricItem:nth-child(2)::after {
    display: none;
  }
}

/* Live Interactive Studio Workspace Showcase */
.studioPreviewContainer {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  text-align: left;
}

.studioHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.65rem;
}

.studioDots {
  display: flex;
  gap: 6px;
}

.studioDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.studioDot--red { background: #ff5f56; }
.studioDot--yellow { background: #ffbd2e; }
.studioDot--green { background: #27c93f; }

.studioTabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.studioTab {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--motion-fast) ease;
  white-space: nowrap;
}

.studioTab:hover {
  color: var(--foreground);
  background: rgba(0, 0, 0, 0.05);
}

.studioTab.isActive {
  color: var(--primary);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.studioContent {
  padding: 1.75rem;
  min-height: 330px;
}

.studioPanel {
  display: none;
  animation: studioFade 0.25s ease-out;
}

.studioPanel.isActive {
  display: block;
}

@keyframes studioFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mock Components Inside Studio */
.mockBriefGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .mockBriefGrid { grid-template-columns: 1fr; }
}

.mockCard {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  background: var(--background);
}

.mockCardTitle {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.mockCardValue {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground);
}

.mockPillRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.mockPill {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.mockTopicList {
  display: grid;
  gap: 0.75rem;
}

.mockTopicItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--background);
  transition: border-color 0.2s ease;
}

.mockTopicItem:hover {
  border-color: var(--primary-soft-border);
}

.mockScriptBox {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.65;
  background: var(--canvas-bg, #121512);
  color: var(--canvas-foreground, #eef2ef);
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--canvas-border, #2f3832);
}

.mockScriptBox .sceneTag {
  color: var(--canvas-accent, #3ecf7a);
  font-weight: 700;
}

.mockScriptBox .lineSpeaker {
  color: var(--canvas-quality, #e2a24a);
}

.mockScriptBox .lineAction {
  color: var(--canvas-muted, #9aa59d);
  font-style: italic;
}

/* Render Progress Bar */
.mockRenderBar {
  background: var(--muted);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 0.85rem 0;
}

.mockRenderProgress {
  height: 100%;
  width: 84%;
  background: linear-gradient(90deg, var(--primary) 0%, #3ecf7a 100%);
  border-radius: 4px;
  animation: pulseBar 2.5s infinite ease-in-out;
}

@keyframes pulseBar {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Step Timeline Workflow Grid */
.productWorkflowTimeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .productWorkflowTimeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .productWorkflowTimeline {
    grid-template-columns: 1fr;
  }
}

.workflowStepCard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.workflowStepCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft-border);
}

.workflowStepHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.workflowStepNum {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.workflowStepIcon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-lg);
  background: var(--muted);
  color: var(--foreground);
  display: grid;
  place-items: center;
}

.workflowStepIcon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.workflowStepCard h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: var(--foreground);
}

.workflowStepCard p {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
  line-height: 1.55;
  flex-grow: 1;
}

.workflowStepMeta {
  padding-top: 0.85rem;
  border-top: 1px dashed var(--border);
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.workflowStepMeta svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
}

/* Modern Bento Grid for Core Features */
.bentoGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

@media (max-width: 992px) {
  .bentoGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bentoGrid {
    grid-template-columns: 1fr;
  }
}

.bentoCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bentoCard:hover {
  transform: translateY(-2px);
  border-color: var(--primary-soft-border);
  box-shadow: var(--shadow-md);
}

.bentoCard--span-2 {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .bentoCard--span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .bentoCard--span-2 {
    grid-column: span 1;
  }
}

.bentoHeader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bentoBadge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bentoBadge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.bentoTitle {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
}

.bentoDesc {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

/* Personas Visual Cards */
.personaGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .personaGrid {
    grid-template-columns: 1fr;
  }
}

.personaCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.personaCard:hover {
  border-color: var(--primary-soft-border);
  transform: translateY(-2px);
}

.personaHeader {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.personaAvatar {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.personaRole {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
}

.personaTag {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  font-weight: 500;
}

.personaBody {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: 1.6;
}

.personaHighlight {
  background: var(--muted);
  border-left: 3px solid var(--primary);
  padding: 0.85rem 1.1rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--foreground);
}

/* Aspect Ratio Formats */
.formatGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .formatGrid {
    grid-template-columns: 1fr;
  }
}

.formatCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.65rem;
  text-align: center;
}

.formatMockup {
  background: var(--muted);
  border-radius: var(--radius-lg);
  margin: 0 auto 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.formatMockup--916 {
  width: 105px;
  height: 185px;
}

.formatMockup--11 {
  width: 135px;
  height: 135px;
}

.formatMockup--169 {
  width: 185px;
  height: 104px;
}

/* Security Cards */
.securityGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .securityGrid {
    grid-template-columns: 1fr;
  }
}

.securityCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.65rem;
}

.securityIcon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.securityIcon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.securityCard h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: var(--foreground);
}

.securityCard p {
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.55;
}

/* Modern Split Comparison Card ("What ViralMag is Not") */
.notGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .notGrid {
    grid-template-columns: 1fr;
  }
}

.notCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.65rem;
}

.notCardHeader {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.notListNew {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.notItemNew {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: 1.45;
}

.notItemNew svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.notItemNew--cross svg { color: var(--destructive); }
.notItemNew--check svg { color: var(--primary); }
