/**
 * Asset & Machine Monitoring Solution Page Stylesheet
 * Sayuswa Teknologi — Anti-AI Slop Engineering Design System
 *
 * @package SayuswaTheme
 * @version 3.0.0
 */

/* -------------------------------------------------------------
 * 1. BASE & CONTAINER OVERRIDES
 * ------------------------------------------------------------- */
.asset-page-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #090D16;
  color: #F1F5F9;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

.asset-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Section Header Utility */
.asset-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px auto;
}

.asset-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 16px;
}

.asset-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.asset-section-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  margin: 0;
}

/* Common Buttons */
.asset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.asset-btn-primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.asset-btn-primary:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.asset-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.asset-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * 2. HERO SECTION
 * ------------------------------------------------------------- */
.asset-hero {
  position: relative;
  background: radial-gradient(circle at 75% 25%, rgba(14, 165, 233, 0.15) 0%, transparent 55%),
              radial-gradient(circle at 20% 75%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
              linear-gradient(135deg, #070B14 0%, #0F172A 60%, #071927 100%);
  padding: 80px 0 90px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.asset-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  letter-spacing: -0.03em;
}

.asset-hero-title span {
  background: linear-gradient(135deg, #38BDF8 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.asset-hero-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 0 0 28px 0;
}

.asset-hero-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.asset-chip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: #E2E8F0;
  font-weight: 500;
}

.asset-chip-item i {
  color: #34D399;
}

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

/* Live Telemetry Widget Card */
.asset-widget-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.1);
}

.widget-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.widget-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #38BDF8;
  text-transform: uppercase;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 4px 0 0 0;
}

.widget-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  white-space: nowrap;
}

.widget-status-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

.widget-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.metric-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
  transition: all 0.2s ease;
}

.metric-box.highlight-box {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
}

.metric-label {
  font-size: 0.75rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.metric-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.metric-unit {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
}

.metric-sub {
  font-size: 0.7rem;
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.text-emerald { color: #34D399 !important; }
.text-amber { color: #F59E0B !important; }
.text-red { color: #F87171 !important; }
.text-accent { color: #38BDF8 !important; }
.text-gold { color: #FBBF24 !important; }

/* Control Buttons */
.widget-controls {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.control-label {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.control-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sim-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.sim-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.sim-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38BDF8;
  color: #FFFFFF;
}

/* -------------------------------------------------------------
 * 3. METRICS STRIP
 * ------------------------------------------------------------- */
.asset-metrics-bar {
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0;
}

.asset-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.asset-metric-item {
  padding: 12px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-metric-item:last-child {
  border-right: none;
}

.metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: #38BDF8;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.8rem;
  color: #64748B;
}

/* -------------------------------------------------------------
 * 4. CAPABILITIES GRID
 * ------------------------------------------------------------- */
.asset-capabilities-section {
  padding: 90px 0;
  background: #090D16;
}

.asset-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.asset-feature-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.asset-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px 0;
}

.card-desc {
  font-size: 0.925rem;
  color: #94A3B8;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  font-size: 0.825rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-list li i {
  color: #34D399;
  font-size: 0.75rem;
}

/* -------------------------------------------------------------
 * 5. 3-TIER ARCHITECTURE TABS
 * ------------------------------------------------------------- */
.asset-tabs-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #090D16 0%, #0F172A 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-tab-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.asset-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.925rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.asset-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.asset-tab-btn.active {
  background: #0284C7;
  border-color: #38BDF8;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.asset-tab-content {
  display: none;
}

.asset-tab-content.active {
  display: block;
  animation: fadeInTab 0.4s ease forwards;
}

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

.tab-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 40px;
}

.tab-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #34D399;
  background: rgba(52, 211, 153, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.tab-text-side h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 14px 0;
}

.tab-text-side p {
  color: #94A3B8;
  font-size: 1rem;
  margin: 0 0 24px 0;
}

.tab-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.tf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: #E2E8F0;
  font-weight: 500;
}

.tf-item i { color: #38BDF8; }

.spec-card-box {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-card-box h4 {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.tab-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.tab-spec-table td {
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tab-spec-table tr:last-child td { border-bottom: none; }
.tab-spec-table td:first-child { color: #94A3B8; font-weight: 600; width: 35%; }
.tab-spec-table td:last-child { color: #F8FAFC; font-weight: 500; }

/* -------------------------------------------------------------
 * 6. ROI CALCULATOR
 * ------------------------------------------------------------- */
.asset-calc-section {
  padding: 90px 0;
  background: #090D16;
}

.asset-calc-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(7, 25, 39, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
  align-items: center;
}

.calc-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label-row label {
  font-size: 0.925rem;
  font-weight: 600;
  color: #E2E8F0;
}

.calc-val-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.15);
  padding: 4px 10px;
  border-radius: 6px;
}

.calc-slider {
  width: 100%;
  accent-color: #38BDF8;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: 20px;
}

.results-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 32px;
}

.results-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.res-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.res-label {
  font-size: 0.875rem;
  color: #94A3B8;
}

.res-val {
  font-size: 1rem;
  font-weight: 700;
}

.res-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.res-row.main-res {
  margin-bottom: 14px;
}

.res-row.main-res .res-label {
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 700;
}

.res-row.main-res .res-val {
  font-size: 1.35rem;
  font-weight: 800;
}

.calc-cta-btn {
  width: 100%;
  margin-top: 20px;
}

/* -------------------------------------------------------------
 * 7. INDUSTRIAL USECASES
 * ------------------------------------------------------------- */
.asset-usecases-section {
  padding: 90px 0;
  background: #090D16;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.usecase-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
}

.usecase-card:hover {
  transform: translateY(-4px);
  border-color: #38BDF8;
  background: rgba(15, 23, 42, 0.85);
}

.uc-icon {
  font-size: 1.75rem;
  color: #38BDF8;
  margin-bottom: 16px;
}

.usecase-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.usecase-card p {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

/* -------------------------------------------------------------
 * 8. FAQ ACCORDION
 * ------------------------------------------------------------- */
.asset-faq-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #090D16 0%, #0F172A 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-accordion-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: rgba(56, 189, 248, 0.4);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  color: #38BDF8;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-content {
  padding: 0 24px 20px 24px;
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * 9. CTA BANNER
 * ------------------------------------------------------------- */
.asset-cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
}

.cta-banner-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #E0F2FE;
  margin: 0 0 32px 0;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* -------------------------------------------------------------
 * 10. RESPONSIVE BREAKPOINTS
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .asset-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .asset-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-content-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .asset-metric-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-bottom: 20px; }
}

@media (max-width: 640px) {
  .asset-hero-title { font-size: 2rem; }
  .asset-cards-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .widget-metrics-grid { grid-template-columns: 1fr; }
  .control-btns { grid-template-columns: 1fr; }
  .asset-calc-card { padding: 24px; }
  .asset-metrics-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 1.75rem; }
}
