/* STR Technologies - Design System & Impact Theme Prototype */

/* 1. Variables & Design Tokens */
:root {
  /* Colors */
  --color-primary: #0A5F8A;
  /* Science Blue */
  --color-primary-dark: #084A6D;
  --color-primary-light: #3D8AB5;
  --color-primary-tint: #E6F2F7;

  --color-secondary: #0D9488;
  /* Lab Teal */
  --color-secondary-dark: #0A7A70;

  --color-trust: #059669;
  /* Certified Green */
  --color-trust-bg: #D1FAE5;

  --color-text-primary: #1A1F26;
  /* Charcoal */
  --color-text-secondary: #3D4852;
  /* Slate */
  --color-text-muted: #6B7280;
  /* Stone */

  --color-border: #D1D5DB;
  /* Silver */
  --color-background: #F9FAFB;
  /* Snow */
  --color-surface: #FFFFFF;
  /* White */
  --color-card-bg: #F5F9FC;
  /* Very Light Blue/Grey */

  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Lora', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-4: 1rem;
  --space-6: 2rem;
  /* 32px */
  --space-8: 4rem;
  /* 64px */
  --space-9: 6rem;
  /* 96px */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

/* 2. Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

/* 3. Typography Utility Classes */
.text-hero {
  font-size: clamp(2.5rem, 5vw, 4rem);
  /* Impact Theme needs BIG type */
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.text-subhero {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: 32px;
}

.text-editorial {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.text-h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* 4. Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  min-height: 48px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary-tint);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-primary);
  padding: 8px 0;
  min-height: auto;
}


.btn-ghost:hover {
  text-decoration: underline;
}

/* Specific alignment for card buttons as requested */
.product-card .btn-ghost {
  align-self: flex-end;
  /* Override default auto width/height if needed */
  width: auto;
}

/* Badges */
.badge-group {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--color-trust-bg);
  color: var(--color-trust);
  border: 1px solid var(--color-trust);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Layout Utility */
.page-width {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 87px;
  /* Explicit height increased to push content down */
  padding-top: 15px;
  /* Push content down by 15px */
  display: flex;
  align-items: center;
  z-index: 100;
  box-shadow: none;
  color: var(--color-text-primary);
}

@media (min-width: 990px) {
  .site-header {
    height: 103px;
    /* 88px + 15px */
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 700;
  /* Bold weight */
  font-size: 0.95rem;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--color-text-primary);
}

.icon-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 595px;
  /* Reduced by 15% from 700px */
  display: flex;
  align-items: center;
  /* Padding removed, using container */
  /* Light cyan/teal background as base */
  background: var(--color-surface);
  overflow: hidden;
}

/* 3D Container */
.hero-background-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Demo Toggle Tab */
.demo-toggle {
  position: fixed;
  left: 24px;
  bottom: 24px;
  top: auto;
  /* Reset top */
  transform: none;
  /* Reset transform */
  background: transparent;
  padding: 0;
  box-shadow: none;
  z-index: 1000;
  display: flex;
  gap: 8px;
  border: none;
}

/* label removed */

.toggle-btn {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.toggle-btn:hover {
  background: var(--color-background);
  color: var(--color-primary);
}

.toggle-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* New CSS Animation Styles */
.page-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3Cstyle%3E.node{fill:none;stroke:%230A5F8A;stroke-width:1.5;opacity:0.6}.node-small{fill:none;stroke:%230A5F8A;stroke-width:1;opacity:0.4}.connection{fill:none;stroke:%23D1D5DB;stroke-width:1;opacity:0.5}%3C/style%3E%3C/defs%3E%3Cg transform='translate(60,50)'%3E%3Cpath class='connection' d='M0,0 L25,0 L37,22 L25,44 L0,44 L-12,22 Z'/%3E%3Ccircle class='node' cx='0' cy='0' r='4'/%3E%3Ccircle class='node' cx='25' cy='0' r='4'/%3E%3Ccircle class='node' cx='37' cy='22' r='4'/%3E%3Ccircle class='node' cx='25' cy='44' r='4'/%3E%3Ccircle class='node' cx='0' cy='44' r='4'/%3E%3Ccircle class='node' cx='-12' cy='22' r='4'/%3E%3C/g%3E%3Cg transform='translate(180,180)'%3E%3Cpath class='connection' d='M0,0 L35,0 L70,0 L105,0 L105,-25'/%3E%3Ccircle class='node' cx='0' cy='0' r='4'/%3E%3Ccircle class='node-small' cx='35' cy='0' r='3'/%3E%3Ccircle class='node' cx='70' cy='0' r='4'/%3E%3Ccircle class='node-small' cx='105' cy='0' r='3'/%3E%3Ccircle class='node' cx='105' cy='-25' r='4'/%3E%3C/g%3E%3Cg transform='translate(300,300)'%3E%3Ccircle class='node' cx='0' cy='0' r='6'/%3E%3Cpath class='connection' d='M6,3 L40,20 M6,-3 L40,-14'/%3E%3Ccircle class='node-small' cx='40' cy='20' r='3'/%3E%3Ccircle class='node-small' cx='40' cy='-14' r='3'/%3E%3C/g%3E%3Cg transform='translate(320,80)'%3E%3Cpath class='connection' d='M0,0 L20,12 L20,36 L0,48 L-20,36 L-20,12 Z'/%3E%3Ccircle class='node-small' cx='0' cy='0' r='3'/%3E%3Ccircle class='node-small' cx='20' cy='12' r='3'/%3E%3Ccircle class='node-small' cx='20' cy='36' r='3'/%3E%3Ccircle class='node-small' cx='0' cy='48' r='3'/%3E%3Ccircle class='node-small' cx='-20' cy='36' r='3'/%3E%3Ccircle class='node-small' cx='-20' cy='12' r='3'/%3C/g%3E%3Cg transform='translate(80,280)'%3E%3Cpath class='connection' d='M0,0 L30,0 L60,0 M30,0 L30,30'/%3E%3Ccircle class='node' cx='0' cy='0' r='4'/%3E%3Ccircle class='node-small' cx='30' cy='0' r='3'/%3E%3Ccircle class='node' cx='60' cy='0' r='4'/%3E%3Ccircle class='node' cx='30' cy='30' r='4'/%3E%3C/g%3E%3Ccircle class='node-small' cx='150' cy='100' r='2' opacity='0.3'/%3E%3Ccircle class='node-small' cx='250' cy='150' r='2' opacity='0.3'/%3E%3Ccircle class='node-small' cx='350' cy='250' r='2' opacity='0.3'/%3E%3Ccircle class='node-small' cx='50' cy='350' r='2' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-repeat: repeat;
  opacity: 0.15;
  /* Increased slightly for visibility on gradient */
  animation: backgroundDrift 90s linear infinite;
  pointer-events: none;
}

@keyframes backgroundDrift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 400px 400px;
  }
}

.hero-molecules {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-molecule {
  position: absolute;
  transition: opacity 300ms ease;
}

.hero-molecule--1 {
  top: 10%;
  right: 5%;
  width: 500px;
  height: 500px;
  opacity: 0.15;
  animation: moleculeCombined1 75s linear infinite;
}

.hero-molecule--2 {
  bottom: 15%;
  left: 10%;
  width: 360px;
  height: 360px;
  opacity: 0.12;
  animation: moleculeCombined2 90s linear infinite;
}

.hero:hover .hero-molecule--1 {
  opacity: 0.25;
}

.hero:hover .hero-molecule--2 {
  opacity: 0.20;
}

@keyframes moleculeCombined1 {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  25% {
    transform: rotate(90deg) translateY(-10px);
  }

  50% {
    transform: rotate(180deg) translateY(-20px);
  }

  75% {
    transform: rotate(270deg) translateY(-10px);
  }

  100% {
    transform: rotate(360deg) translateY(0);
  }
}

@keyframes moleculeCombined2 {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  25% {
    transform: rotate(-90deg) translateY(-7px);
  }

  50% {
    transform: rotate(-180deg) translateY(-15px);
  }

  75% {
    transform: rotate(-270deg) translateY(-7px);
  }

  100% {
    transform: rotate(-360deg) translateY(0);
  }
}

/* SVG Internal Styles */
.mol-node {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
}

.mol-node-fill {
  fill: var(--color-primary-tint);
  fill-opacity: 0.3;
  stroke: var(--color-primary);
  stroke-width: 2;
}

.mol-connection {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  opacity: 0.7;
}

.chain-node {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
}

.chain-connection {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  opacity: 0.7;
}


.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  /* Constrained width for text */
}

.text-hero {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text-primary);
  /* Dark text for headline */
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-subhero {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Rounded Pill Button from screenshot */
.btn-pill {
  border-radius: 9999px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
}


/* Product Grid */
.product-section {
  padding: 60px 48px;
  background-color: var(--color-surface);
}

.section-header {
  margin-bottom: 32px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

/* Stretched link pattern for clickable cards */
.product-card {
  position: relative;
}

.product-card .btn-ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.product-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prod-specs {
  margin-top: auto;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.spec-label {
  color: var(--color-text-muted);
}


/* Synthetic Advantage Section - "Sparkle" Upgrade */
.advantage-section {
  padding: 100px 48px;
  background-color: #F8FAFC;
  /* Slightly cooler grey/snow */
  background-image: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.03) 0%, transparent 60%);
  border-top: 1px solid var(--color-border);
}

.text-center {
  text-align: center;
}

.advantage-card {
  text-align: left;
  padding: 32px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* shadow-xl */
  border-color: var(--color-primary-light);
}

/* Subtle top gradient accent on card hover */
.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 56px;
  height: 56px;
  /* Soft Gradient Background */
  background: linear-gradient(135deg, var(--color-primary-tint), #FFFFFF);
  border: 1px solid rgba(13, 148, 136, 0.1);
  color: var(--color-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.1) rotate(3deg);
  background: linear-gradient(135deg, #FFF, var(--color-primary-tint));
}

.text-muted {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Trust Strip Polish */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
  /* Darker text for readability */
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  color: var(--color-primary);
  border-color: var(--color-primary-light);
}

.trust-badge .material-symbols-outlined {
  color: var(--color-trust);
}

/* Footer Section */
.site-footer {
  background-color: var(--color-text-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 0 32px;
  margin-top: 0;
  color: #FFFFFF;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand h4 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h5 {
  color: #FFFFFF;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* =========================================
   New Product Card V2 Styles (Prototype Update)
   ========================================= */

.product-card-v2 {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-top: 6px solid var(--color-primary);
  /* Integrated header line */
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.product-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.card-header {
  background-color: #F8FAFC;
  /* Light gray background */
  height: 160px;
  /* Reduced height as requested (approx 2/3 of standard) */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 6px solid var(--color-primary);
}

.card-icon {
  width: 80px;
  height: 80px;
  opacity: 0.2;
  /* Watermark style */
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1;
}

.card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.prod-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.prod-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Specs List */
.specs-list {
  margin-bottom: 32px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  margin-bottom: 12px;
  padding-bottom: 4px;
  /* subtle spacing */
}

.spec-item:last-child {
  margin-bottom: 0;
}

.spec-key {
  color: var(--color-text-muted);
  font-weight: 400;
}

.spec-val {
  font-weight: 600;
  font-family: var(--font-mono);
  /* Technical look for specs */
  color: var(--color-text-primary);
  text-align: right;
}

/* Pricing Box */
.pricing-box {
  background-color: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.pricing-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-qty {
  color: var(--color-text-secondary);
}

.price-amt {
  font-weight: 700;
  color: var(--color-text-primary);
  font-family: var(--font-mono);
}

.price-amt.highlight {
  color: var(--color-primary);
}

/* Pricing Box */
.product-card-v2 .pricing-box {
  border-top: 1px solid var(--color-border);
  /* Added dividing line */
  background: #F9FAFB;
  border-radius: 0 0 8px 8px;
  /* Rounded only at bottom if line is full width, but let's keep it simple for now */
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.pricing-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Actions */
.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
}

/* Explicit button styles for card actions to match design */
.card-actions .btn {
  width: 100%;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 8px 16px;
  min-height: 44px;
}

/* Clickable Card Stretched Link */
/* Note: prototype.html must have the anchor first in source order for sibling combinators */
/* But since we use position absolute and z-index, order matters less for layering */

.product-card-v2 .card-actions a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Ensure Add to Cart button stays clickable above the link */
/* Assuming the button is a sibling of the anchor */
.product-card-v2 .card-actions button {
  position: relative;
  z-index: 2;
  cursor: pointer;
}
/* =========================================
   Product Hub Page Specific Styles (Wide Layout)
   ========================================= */

/* Wide Product Card */
.product-card-wide {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card-wide:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

/* Wide Card - Left Column (Identity) */
.pc-identity {
    background-color: #F8FAFC;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--color-border);
    position: relative;
}

.pc-identity::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--color-primary);
}

/* Wide Card - Middle Column (Specs & Info) */
.pc-info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pc-info p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Application Tags */
.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tag-pill {
    background-color: var(--color-primary-tint);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

/* Wide Card - Right Column (Action) */
.pc-action {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--color-border);
    background-color: #FAFAFA;
}

.pc-price-preview {
    margin-bottom: 24px;
}

.pc-price-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.pc-price-val {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

/* Mobile Responsive for Wide Card */
@media (max-width: 900px) {
    .product-card-wide {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .pc-identity, .pc-info, .pc-action {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
    }
    
    .pc-action {
        border-bottom: none;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    
    .pc-price-preview {
        margin-bottom: 0;
    }
}

/* Comparison Matrix Table */
.comparison-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Ensure valid width on mobile scroll */
}

.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background-color: #F8FAFC;
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.comparison-table th:first-child {
    width: 25%;
    background-color: #FFFFFF; /* Sticky col style if needed */
}

.comparison-table td {
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: var(--color-trust);
    font-weight: bold;
}


/* =========================================
   Phase 2: Compact Header & New Features
   ========================================= */

/* Compact Hero (Split Layout) */
.hero-compact {
    min-height: 280px; 
    padding: 48px 0;
    background: linear-gradient(135deg, #F0F4F8 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}

.hero-split-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.hero-left {
    max-width: 600px;
}

.hero-compact h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-compact .text-subhero {
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: none;
}

/* Adjuvant Selector Call-to-Action (Right Side) */
.hero-right {
    flex-shrink: 0;
}

.selector-cta-card {
    background: #FFFFFF;
    border: 1px solid var(--color-primary-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    max-width: 320px;
    text-align: center;
}

.selector-cta-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.selector-cta-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

/* Citation Ticker */
.citation-ticker {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    overflow: hidden;
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-content {
    display: flex;
    gap: 48px;
    /* Simple marquee effect or static list for now */
    justify-content: center;
    align-items: center;
}

.citation-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.journal-name {
    font-family: var(--font-serif);
    font-style: italic;
    opacity: 0.8;
}

/* Mobile Responsive for Compact Header */
@media (max-width: 768px) {
    .hero-split-layout {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .hero-left {
        margin: 0 auto;
    }
    
    .selector-cta-card {
        margin: 0 auto;
        width: 100%;
    }
    
    .citation-ticker .page-width {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px; /* Scrollbar space */
    }
}


/* =========================================
   Phase 3: Vertical Layout Refinements
   ========================================= */

/* Vertical Grid Container (Grid-3 Override if needed) */
.product-grid-vertical {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* Vertical Card - Expanded Content */
.product-card-vertical {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--color-primary);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.product-card-vertical:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.product-card-vertical .prod-category {
    margin-bottom: 8px;
    font-size: 0.75rem;
}

.product-card-vertical .prod-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.product-card-vertical .prod-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    color: var(--color-text-secondary);
    min-height: 60px; /* Align content */
}

/* Specs inside vertical card */
.product-card-vertical .specs-list {
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

/* Tags inside vertical card */
.product-card-vertical .app-tags {
    margin-bottom: 24px;
}

/* Price & Action at bottom */
.product-card-vertical .card-bottom {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.product-card-vertical .price-preview {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.product-card-vertical .price-val {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.product-card-vertical .price-unit {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.product-card-vertical .btn-primary {
    width: 100%;
}

/* Editorial Text Style */
.text-editorial-intro {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

