/* ============================================================
   UVEOUS TECH — Products & Demo Pages CSS
   ============================================================ */

/* ── Product Hero ── */
.product-hero {
  min-height: 55vh;
  background: linear-gradient(135deg, #060d1f 0%, #0a1833 50%, #0F3460 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--space-8));
  padding-bottom: var(--space-12);
}
.product-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 55%; height: 100%;
  background: radial-gradient(circle at center, rgba(99,160,255,.15) 0%, transparent 65%);
  pointer-events: none;
}
.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}
.product-hero h1 { color: var(--color-white); margin-bottom: var(--space-4); }
.product-hero p  { color: rgba(255,255,255,.78); font-size: var(--text-lg); margin-bottom: var(--space-8); }
.product-hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* Product hero heading / sub — dark hero variants */
.product-hero-h1 { font-size: var(--text-4xl); font-weight: var(--fw-extrabold); color: var(--color-white); margin-bottom: var(--space-4); line-height: var(--lh-snug); }
.product-hero-p  { color: rgba(255,255,255,.78); font-size: var(--text-lg); line-height: var(--lh-relaxed); margin-bottom: var(--space-8); }

/* Feature chips in hero — work on both dark and light backgrounds */
.product-hero-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.product-chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: var(--fw-semibold); padding: .35rem .875rem; border-radius: var(--radius-full); }
.product-chip-green  { background: rgba(34,197,94,.18); color: #86efac; border: 1px solid rgba(34,197,94,.3); }
.product-chip-orange { background: rgba(251,146,60,.18); color: #fdba74; border: 1px solid rgba(251,146,60,.3); }

/* ── Outline-light button (white outline for dark hero backgrounds) ── */
.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.55);
  font-weight: var(--fw-semibold);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.85);
  color: var(--color-white);
}

/* ── White solid button (for dark CTA band backgrounds) ── */
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
  font-weight: var(--fw-bold);
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.9);
  color: var(--color-primary-dark);
}

/* ── CTA band title / subtitle utility classes ── */
.cta-band-title { color: var(--color-white); font-size: var(--text-4xl); font-weight: var(--fw-extrabold); margin-bottom: var(--space-4); line-height: var(--lh-snug); }
.cta-band-sub   { color: rgba(255,255,255,.82); font-size: var(--text-lg); margin-bottom: var(--space-8); max-width: 580px; margin-inline: auto; }

.product-mockup {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,.13), 0 1.2px 3.6px 0 rgba(0,0,0,.11);
  overflow: hidden;
}
.product-mockup img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-gray-200);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Industry hero image consistent rectangle ── */
.industry-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: var(--radius-md);
}

/* ── About page ── */
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); margin-top: var(--space-10); }
.about-stat { text-align: center; }
.about-stat strong,
.about-stat-number { display: block; font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: var(--fw-extrabold); color: var(--color-white); line-height: 1; }
.about-stat span,
.about-stat-label  { font-size: var(--text-sm); color: rgba(255,255,255,.65); margin-top: var(--space-1); display: block; }
.about-values { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-6); }
.about-value { background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: var(--space-6); }
.about-value-icon { font-size: 2.5rem; margin-bottom: var(--space-3); }

/* ── Team card ── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-8); margin-top: var(--space-6); }
.team-card { text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 1.5rem; color: white; margin: 0 auto var(--space-4); }

/* ── Pricing cards ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.pricing-card { background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: var(--space-8); display: flex; flex-direction: column; }
.pricing-card.featured { border-color: var(--color-primary); border-width: 2px; position: relative; }
.pricing-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-primary); color: white; font-size: 10px; font-weight: 700; letter-spacing: .1em; padding: 3px 12px; border-radius: var(--radius-full); white-space: nowrap; }
.pricing-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(27,79,158,.1); color: var(--color-primary); font-size: var(--text-xs); font-weight: var(--fw-semibold); padding: .35rem .75rem; border-radius: var(--radius-full); margin-bottom: var(--space-4); }
.pricing-name { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: var(--fw-bold); color: var(--color-gray-900); margin-bottom: var(--space-2); }
.pricing-desc { font-size: var(--text-sm); color: var(--color-gray-600); margin-bottom: var(--space-6); line-height: var(--lh-relaxed); }
.pricing-price { font-family: var(--font-heading); font-size: var(--text-4xl); font-weight: var(--fw-extrabold); color: var(--color-primary); line-height: 1; margin-bottom: var(--space-1); }
.pricing-price-note { font-size: var(--text-xs); color: var(--color-gray-500); margin-bottom: var(--space-6); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); flex: 1; margin-bottom: var(--space-6); }
.pricing-features li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-gray-700); }
.pricing-features li::before { content: '✓'; color: var(--color-success); font-weight: var(--fw-bold); flex-shrink: 0; margin-top: 1px; }

/* ── Resource cards ── */
.resources-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.resource-card { background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); transition: box-shadow var(--transition-base); }
.resource-card:hover { box-shadow: var(--shadow-md); }
.resource-type { font-size: var(--text-xs); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); }
.resource-icon { font-size: 2.25rem; }
.resource-card h4 { font-size: var(--text-base); font-weight: var(--fw-semibold); color: var(--color-gray-900); }
.resource-card p { font-size: var(--text-sm); color: var(--color-gray-600); line-height: var(--lh-relaxed); flex: 1; }

/* ── Industry page layout ── */
.industry-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.industry-features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-8); }
.industry-feature {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.industry-feature:hover { box-shadow: 0 6px 20px rgba(27,79,158,.13); transform: translateY(-3px); }
.industry-feature-icon { font-size: 2.25rem; margin-bottom: var(--space-3); }
.industry-feature h4 { font-size: var(--text-base); font-weight: var(--fw-bold); color: var(--color-gray-900); margin-bottom: var(--space-2); }
.industry-feature p { font-size: var(--text-sm); color: var(--color-gray-600); line-height: var(--lh-relaxed); }
.industry-products-strip { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-8); justify-content: center; }
.industry-product-chip { display: flex; align-items: center; gap: var(--space-2); background: rgba(27,79,158,.08); border: 1px solid rgba(27,79,158,.2); border-radius: var(--radius-full); padding: .4rem 1rem; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--color-primary); }

/* ── Industry features section background ── */
.industry-features-section { background: var(--color-gray-50); }

/* ── Products strip chip overrides for dark-on-light anchors ── */
a.product-chip-green  { background: rgba(34,197,94,.1); color: #15803d; border: 1px solid rgba(34,197,94,.3); font-weight: var(--fw-semibold); font-size: var(--text-sm); display: inline-flex; align-items: center; gap: 6px; }
a.product-chip-orange { background: rgba(244,101,30,.1); color: #c2410c; border: 1px solid rgba(244,101,30,.3); font-weight: var(--fw-semibold); font-size: var(--text-sm); display: inline-flex; align-items: center; gap: 6px; }

/* ── Protocol / PLC table chips ── */
.protocol-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-4); }
.protocol-card { background: var(--color-gray-50); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); padding: var(--space-5); text-align: center; }
.protocol-card-icon { font-size: 2rem; margin-bottom: var(--space-2); }
.protocol-card h4 { font-size: var(--text-sm); font-weight: var(--fw-semibold); margin-bottom: var(--space-1); }
.protocol-card p { font-size: var(--text-xs); color: var(--color-gray-600); }

/* ── Architecture vertical flow ── */
.arch-flow-v { display: flex; flex-direction: column; gap: 0; max-width: 520px; margin: var(--space-8) auto 0; }
.arch-step { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); }
.arch-step.highlight { background: var(--color-primary); border-color: var(--color-primary); }
.arch-step.highlight strong, .arch-step.highlight span { color: white !important; }
.arch-step-arrow { display: flex; justify-content: center; color: var(--color-gray-400); font-size: 1.25rem; line-height: 1; padding: 4px 0; }

/* Responsive product pages */
@media (max-width: 1024px) {
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .about-values { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .resources-grid { grid-template-columns: repeat(2,1fr); }
  .protocol-grid { grid-template-columns: repeat(2,1fr); }
  .industry-hero-grid { grid-template-columns: 1fr; }
  .industry-features-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .about-values { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .protocol-grid { grid-template-columns: repeat(2,1fr); }
  .industry-features-grid { grid-template-columns: 1fr; }
}

/* ── Tabs Component ── */
.tabs-section { background: var(--color-white); }
.tabs-wrapper { display: flex; flex-direction: column; max-width: var(--container-max); margin: 0 auto; }
.tab-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 2px solid var(--color-gray-200);
  margin-bottom: var(--space-8);
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--color-gray-500);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}
.tab-btn:hover { color: var(--color-primary); background: var(--color-gray-50); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.tab-panel { display: none; animation: fadeIn var(--transition-base); }
.tab-panel.active { display: block; }

.tab-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.tab-checklist { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.tab-checklist li { display: flex; align-items: center; gap: var(--space-3); color: var(--color-gray-700); }
.tab-checklist li::before { content: '✓'; color: var(--color-success); font-weight: bold; }

/* ── Comparison Table ── */
.comparison-section { background: var(--color-gray-50); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table th, .comparison-table td {
  padding: var(--space-4) var(--space-6);
  text-align: center;
  border-bottom: 1px solid var(--color-gray-200);
}
.comparison-table th {
  background: var(--color-gray-100);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
}
.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
  font-weight: var(--fw-semibold);
}
.comparison-table td.brand-col {
  background: rgba(27,79,158,.04);
  color: var(--color-primary);
  font-weight: var(--fw-bold);
}
.comparison-table tr:last-child td { border-bottom: none; }

/* ── ROI Calculator ── */
.roi-calculator {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.roi-inputs { display: flex; flex-direction: column; gap: var(--space-4); }
.roi-output {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  text-align: center;
}
.roi-result { font-size: 3rem; font-family: var(--font-heading); font-weight: var(--fw-bold); margin-block: var(--space-4); color: var(--color-accent-light); }

/* ── Demo Page ── */
.demo-page { padding-block: calc(var(--nav-height) + var(--space-12)) var(--space-16); background: var(--color-gray-50); min-height: 100vh; }
.demo-header { text-align: center; max-width: 800px; margin: 0 auto var(--space-12); }
.demo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--space-8); max-width: 1100px; margin: 0 auto; }

.demo-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.demo-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.demo-step { display: flex; gap: var(--space-4); }
.demo-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(244,101,30,.15);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: var(--fw-bold);
  flex-shrink: 0;
}
.demo-step-text h4 { margin-bottom: 4px; }
.demo-step-text p { font-size: var(--text-sm); color: var(--color-gray-600); line-height: var(--lh-snug); }

/* base responsive (layout-specific below) */
@media (max-width: 1024px) {
  .product-hero-inner { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .tab-content-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .comparison-table { display: block; overflow-x: auto; }
}
