/* ==========================================================================
   SAMS - Security Assets Management System
   Brand Dark Mode Stylesheet for PT Mulya Jatra (Member of PT. Mahakaam Grup Internasional)
   Official Registered Brand: MY Smartlock® (IDM 000604602)
   Theme Palette: Pitch Black, Dark Gray, Vibrant Orange, Crisp White Text
   ========================================================================== */

:root {
  /* DARK MODE FOUNDATION */
  --bg-deep: #080a0f;              /* Pitch black foundation */
  --bg-body: #0c0e14;              /* Deep dark background */
  --bg-surface: #11141c;           /* Alternate section dark surface */
  --bg-card: #161a24;              /* Dark gray card surface */
  --bg-card-hover: #1c2230;        /* Elevated card on hover */
  --bg-input: #10131b;             /* Form input background */
  
  /* VIBRANT ORANGE ACCENTS (Brosur & Mahakaam) */
  --orange: #ea580c;               /* Core brand orange */
  --orange-bright: #f97316;        /* Vibrant orange for interactive & highlights */
  --orange-light: #fb923c;         /* Bright peach-orange */
  --orange-hover: #c2410c;         /* Deep orange active state */
  --orange-glow: rgba(249, 115, 22, 0.32); /* High-tech cyber glow */
  --orange-subtle: rgba(249, 115, 22, 0.12); /* Subtle badges / icon backgrounds */
  --orange-border: rgba(249, 115, 22, 0.4);  /* Border accent */

  /* TEXT HIERARCHY (TULISAN PUTIH) */
  --text-white: #ffffff;           /* 100% Crisp Pure White */
  --text-light: #f1f5f9;           /* Light silver body text */
  --text-secondary: #cbd5e1;       /* Cool secondary text */
  --text-muted: #94a3b8;           /* Slate gray captions & specs */
  --text-dim: #64748b;             /* Dim footer notes */
  --dark: #f8fafc;                 /* Legacy alias -> White for Dark Mode */
  --slate: #94a3b8;                /* Legacy alias -> Cool Silver Slate */

  /* BORDERS & STRUCTURAL ACCENTS */
  --border: #232938;               /* Subtle dark gray border */
  --border-focus: #f97316;         /* Orange border on focus/hover */
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* SHADOWS & GLOWS */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 4px 10px -2px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 35px -8px rgba(0, 0, 0, 0.7), 0 0 25px var(--orange-glow);
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Helvetica, Arial, sans-serif;
  color: var(--text-light);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.sams-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & BALANCED NAVIGATION (DARK GLASSMORPHISM)
   ========================================================================== */
.sams-header {
  background: rgba(10, 12, 17, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sams-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

/* BRAND LOGO + TEXT COMBO */
.sams-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.sams-brand-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  background: transparent;
  padding: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.sams-brand:hover .sams-brand-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.4));
}

.sams-brand-divider {
  display: none;
}

.sams-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sams-logo-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.2px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sams-logo-badge {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}

.sams-logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.25;
  margin-top: 3px;
  letter-spacing: 0.1px;
}

/* BALANCED MENU ITEMS */
.sams-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.sams-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.sams-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--orange-bright);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px var(--orange-glow);
}

.sams-nav-link:hover {
  color: var(--orange-bright);
}

.sams-nav-link:hover::after, .sams-nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.sams-nav-link.active {
  color: var(--orange-bright);
}

/* BUTTONS */
.sams-cta-btn {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sams-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.sams-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.55), 0 0 15px var(--orange-glow);
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.sams-cta-btn:hover::before {
  left: 100%;
}

.sams-ghost-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sams-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   HERO SECTION (DARK INDUSTRIAL DUSK)
   ========================================================================== */
.sams-hero {
  background: linear-gradient(135deg, #07090e 0%, #0d1119 50%, #151a26 100%);
  color: #ffffff;
  padding: 68px 0 88px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.sams-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 30%, rgba(234, 88, 12, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 10% 70%, rgba(2, 132, 199, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.sams-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sams-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  backdrop-filter: blur(8px);
  color: var(--orange-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 12px var(--orange-glow);
  animation: floatPill 4s ease-in-out infinite;
}

@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.sams-pulsing-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.sams-hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
  color: var(--text-white);
}

.sams-hero h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sams-hero-tagline {
  font-size: 20px;
  color: var(--orange-bright);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.sams-hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.sams-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* HERO SHOWCASE FRAME */
.sams-hero-img-box {
  background: #11141c;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sams-hero-img-box:hover {
  transform: translateY(-4px);
  border-color: var(--orange-bright);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 25px var(--orange-glow);
}

.sams-hero-img-box-inner {
  width: 100%;
  height: 320px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #0a0c12;
}

.sams-hero-img-box-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.sams-hero-img-box:hover .sams-hero-img-box-inner img {
  transform: scale(1.04);
}

.sams-hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(12, 15, 22, 0.94);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   IMAGE FRAME SYSTEM (PERFECT FIT, NO DISTORTION, DARK CONTRAST & SPOTLIGHT)
   ========================================================================== */

@keyframes floatDevice {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes spotlightPulse {
  0%, 100% {
    opacity: 0.75;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 0.95;
    transform: translateX(-50%) scaleX(1.08);
  }
}

/* 1. FRAME FOR HARDWARE DEVICES & SOFTWARE UI (SPOTLIGHT "SOROT LAMPU" SHOWCASE) */
.sams-img-wrap-contain {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  /* SOROT LAMPU BACKGROUND (Realistic Overhead Spotlight + Pedestal) */
  background: 
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(255, 255, 255, 0.15) 0%, rgba(249, 115, 22, 0.22) 35%, transparent 75%),
    radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.12) 0%, transparent 75%),
    radial-gradient(ellipse 65% 25% at 50% 92%, rgba(249, 115, 22, 0.24) 0%, rgba(0, 0, 0, 0.8) 60%, transparent 85%),
    linear-gradient(180deg, #131722 0%, #0a0d14 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6), 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* OVERHEAD SPOTLIGHT CONE BEAM */
.sams-img-wrap-contain::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 120px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.28) 0%, rgba(249, 115, 22, 0.24) 45%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
  transition: all 0.4s ease;
  opacity: 0.8;
  animation: spotlightPulse 5s ease-in-out infinite;
}

/* PEDESTAL SHADOW / REFLECTION UNDER PRODUCT */
.sams-img-wrap-contain::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85) 0%, rgba(249, 115, 22, 0.25) 45%, transparent 80%);
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.sams-img-wrap-contain img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.6));
  animation: floatDevice 4.5s ease-in-out infinite;
}

/* HOVER: INTENSIFY SPOTLIGHT & ELEVATE HARDWARE WITH CYBER GLOW */
.sams-card:hover .sams-img-wrap-contain {
  border-color: rgba(249, 115, 22, 0.65);
  box-shadow: inset 0 0 30px rgba(249, 115, 22, 0.25), 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 25px var(--orange-glow);
}

.sams-card:hover .sams-img-wrap-contain::before {
  opacity: 1;
  width: 220px;
  height: 140px;
  filter: blur(10px);
}

.sams-card:hover .sams-img-wrap-contain::after {
  transform: translateX(-50%) scale(0.85);
  opacity: 0.45;
  width: 40%;
}

.sams-card:hover .sams-img-wrap-contain img {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.07);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 16px rgba(249, 115, 22, 0.45));
}

/* 2. FRAME FOR FIELD SCENERY & SITE PHOTOS (COVER FIT) */
.sams-img-wrap-cover {
  width: 100%;
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: #0a0c12;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.sams-img-wrap-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.sams-card:hover .sams-img-wrap-cover img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

/* 3. FULL DIAGRAM SHOWCASE FRAME */
.sams-diagram-frame {
  width: 100%;
  height: 310px;
  border-radius: 12px;
  background: #141722;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.sams-diagram-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.sams-diagram-frame:hover img {
  transform: scale(1.02);
}

/* BADGES INSIDE IMAGE FRAMES */
.sams-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(6px);
  color: var(--orange-light);
  border: 1px solid var(--orange-border);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   CARDS & HOVER EFFECTS (DARK GRAY SURFACE + ORANGE GLOW)
   ========================================================================== */
.sams-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 28px;
}

.sams-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.sams-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sams-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange-bright);
}

.sams-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-subtle);
  color: var(--orange-bright);
  border: 1px solid var(--orange-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sams-card:hover .sams-card-icon {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 14px var(--orange-glow);
}

.sams-card-icon.orange {
  background: var(--orange-subtle);
  color: var(--orange-bright);
}

.sams-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sams-card-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* SPEC TABLE */
.sams-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 13px;
}

.sams-spec-table th, .sams-spec-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.sams-spec-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 700;
  width: 38%;
}

.sams-spec-table td {
  color: var(--text-light);
  font-weight: 500;
}

.sams-card:hover .sams-spec-table tr:hover th,
.sams-card:hover .sams-spec-table tr:hover td,
.sams-spec-item:hover .sams-spec-table tr:hover th,
.sams-spec-item:hover .sams-spec-table tr:hover td {
  background: rgba(249, 115, 22, 0.1);
}

/* ==========================================================================
   HEAD-TO-HEAD COMPARISON TABLE (DARK MODE OPTIMIZED)
   ========================================================================== */
.sams-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  background: var(--bg-card);
}

.sams-matrix-table thead tr {
  border-bottom: 2px solid var(--border);
}

.sams-matrix-table thead th {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: -0.2px;
}

.sams-matrix-table thead th.col-param {
  width: 26%;
  background: #10141e;
  color: var(--text-white);
}

.sams-matrix-table thead th.col-traditional {
  width: 37%;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-left: 1px solid var(--border);
}

.sams-matrix-table thead th.col-sams {
  width: 37%;
  background: rgba(234, 88, 12, 0.16);
  color: var(--orange-bright);
  border-left: 1px solid var(--border);
}

.sams-matrix-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.sams-matrix-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.sams-matrix-table tbody tr:nth-child(odd) {
  background: transparent;
}

.sams-matrix-table tbody tr:hover {
  background: rgba(249, 115, 22, 0.08);
}

.sams-matrix-table td {
  padding: 18px 22px;
  vertical-align: middle;
  line-height: 1.6;
}

.sams-matrix-table td.col-param {
  font-weight: 700;
  color: var(--text-white);
  font-size: 14.5px;
}

.sams-matrix-table td.col-traditional {
  color: #cbd5e1;
  font-size: 14px;
  border-left: 1px solid var(--border);
}

.sams-matrix-table td.col-sams {
  color: #f8fafc;
  font-weight: 600;
  font-size: 14px;
  border-left: 1px solid var(--border);
}

.sams-matrix-table td.col-sams .sams-accent-check {
  color: var(--orange-bright);
  margin-right: 6px;
  font-weight: 800;
}

/* ==========================================================================
   RESPONSIVE VIDEO & PROJECT GALLERY STYLES
   ========================================================================== */
.sams-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sams-video-container:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-hover);
}

.sams-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sams-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.sams-project-card:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.sams-project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.sams-project-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.sams-project-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sams-project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.sams-project-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.sams-project-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0c0e14;
  cursor: zoom-in;
}

.sams-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.sams-project-thumb:hover img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .sams-project-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   2-COLUMN SPECIFICATION ITEM (KIRI: NARASI & SPEK, KANAN: FOTO PRODUK)
   Sesuai Referensi Brosur Resmi Halaman 2
   ========================================================================== */
.sams-spec-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sams-spec-item {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sams-spec-item:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.sams-spec-narasi {
  display: flex;
  flex-direction: column;
}

.sams-spec-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.sams-spec-narasi .sams-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sams-spec-narasi .sams-card-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 6px;
  margin-bottom: 16px;
}

.sams-spec-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sams-spec-photo .sams-img-wrap-contain {
  width: 100%;
  max-width: 320px;
  height: 280px;
  border-radius: 12px;
  margin: 0;
}

@media (max-width: 960px) {
  .sams-spec-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .sams-spec-photo {
    order: -1;
  }
  .sams-spec-photo .sams-img-wrap-contain {
    max-width: 100%;
    height: 240px;
  }
}

/* HIGHLIGHT STRIP */
.sams-highlight-strip {
  background: #131722;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  padding: 24px 28px;
  margin-top: -34px;
  border-radius: var(--radius);
  position: relative;
  z-index: 10;
}

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

.sams-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease;
}

.sams-highlight-item:hover {
  transform: translateY(-2px);
}

.sams-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  color: var(--orange-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3), 0 0 10px var(--orange-glow);
}

.sams-highlight-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-white);
}

.sams-highlight-sub {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* SECTIONS */
.sams-section {
  padding: 78px 0;
  background-color: var(--bg-body);
}

.sams-section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sams-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.sams-section-eyebrow {
  color: var(--orange-bright);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
  display: inline-block;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  padding: 4px 14px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sams-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.sams-section-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* BANNER CTA */
.sams-cta-banner {
  background: linear-gradient(135deg, #090c12 0%, #151a26 60%, #1d2435 100%);
  color: #ffffff;
  border: 1px solid var(--orange-border);
  border-radius: 18px;
  padding: 56px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px var(--orange-glow);
}

.sams-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.sams-cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-white);
}

.sams-cta-banner p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* FORM INPUTS & INTERACTIVE ELEMENTS (DARK MODE) */
input, textarea, select {
  background-color: var(--bg-input) !important;
  color: #ffffff !important;
  border: 1px solid var(--border) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--orange-bright) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
}

input::placeholder, textarea::placeholder {
  color: #64748b;
}

/* FOOTER */
.sams-footer {
  background: #06070a;
  color: var(--text-muted);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.sams-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 44px;
  margin-bottom: 44px;
}

.sams-footer-brand h3 {
  color: var(--text-white);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sams-footer-links h4, .sams-footer-contact h4 {
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.sams-footer-links ul {
  list-style: none;
}

.sams-footer-links li {
  margin-bottom: 9px;
}

.sams-footer-links a {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  color: var(--text-secondary);
}

.sams-footer-links a:hover {
  color: var(--orange-bright);
  transform: translateX(4px);
}

.sams-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
  color: #cbd5e1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .sams-nav-menu {
    gap: 14px;
  }
  .sams-nav-link {
    font-size: 13.5px;
  }
}

@media (max-width: 900px) {
  .sams-nav-wrap {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }
  .sams-nav-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    width: 100%;
    padding: 6px 12px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    justify-content: flex-start;
  }
  .sams-nav-menu::-webkit-scrollbar {
    display: none;
  }
  .sams-nav-link {
    font-size: 13px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
  .sams-nav-link.active {
    background: rgba(249, 115, 22, 0.22);
    border-color: #f97316;
    color: #ffffff;
    font-weight: 700;
  }
  .sams-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sams-hero h1 {
    font-size: 32px;
  }
  .sams-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   LIGHTBOX MODAL & INTERACTIVE ZOOM PREVIEW
   ========================================================================== */

.sams-footer-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.25s ease;
}

.sams-footer-logo:hover {
  transform: scale(1.03);
}

.sams-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(14, 18, 27, 0.92);
  color: var(--orange-bright);
  border: 1px solid var(--orange-border);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.sams-card:hover .sams-zoom-hint,
.sams-img-wrap-contain:hover .sams-zoom-hint,
.sams-img-wrap-cover:hover .sams-zoom-hint,
.sams-diagram-frame:hover .sams-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.sams-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sams-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.sams-lightbox-modal {
  position: relative;
  max-width: 860px;
  width: 95%;
  background: linear-gradient(180deg, #161b27 0%, #0d1017 100%);
  border: 1px solid rgba(249, 115, 22, 0.45);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 35px var(--orange-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sams-lightbox.active .sams-lightbox-modal {
  transform: scale(1);
}

.sams-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange-bright);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
  line-height: 1;
  z-index: 20;
}

.sams-lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: #ea580c;
}

.sams-lightbox-stage {
  width: 100%;
  min-height: 280px;
  max-height: 520px;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 15%, rgba(255, 255, 255, 0.15) 0%, rgba(249, 115, 22, 0.2) 40%, transparent 80%),
              linear-gradient(180deg, #10141e 0%, #080a0f 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7);
}

.sams-lightbox-img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
  animation: floatDevice 4.5s ease-in-out infinite;
}

.sams-lightbox-info {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.sams-lightbox-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sams-lightbox-badge {
  display: inline-block;
  background: var(--orange-subtle);
  border: 1px solid var(--orange-border);
  color: var(--orange-bright);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.sams-lightbox-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================================
   PROJECT STATS GRID & PLN CLIENT BADGES
   ======================================================== */
.sams-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

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

@media (max-width: 540px) {
  .sams-stats-grid {
    grid-template-columns: 1fr;
  }
}

.sams-stat-card {
  background: linear-gradient(145deg, #161a24 0%, #0d1017 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sams-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.6), transparent);
}

.sams-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.sams-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #f97316;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.sams-stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.4;
}

/* PLN BADGE PILLS LIST (STATIC FLEX INSTEAD OF ABSOLUTE) */
.sams-pln-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  padding: 0 10px;
}

.sams-pln-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #fdba74;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sams-pln-badge:hover {
  background: rgba(249, 115, 22, 0.22);
  border-color: #f97316;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

/* ========================================================
   CONTACT FORM & CAPTCHA SECURITY
   ======================================================== */
.sams-company-logo-frame {
  margin-bottom: 22px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: inline-block;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.sams-company-logo-frame:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 115, 22, 0.4);
}

.sams-company-logo-img {
  max-height: 58px;
  width: auto;
  display: block;
}

.sams-form-email-badge {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: #fdba74;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.sams-form-email-badge strong {
  color: #ffffff;
}

.sams-input {
  width: 100%;
  padding: 11px 14px;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 13.5px;
  color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.sams-input:focus {
  border-color: var(--orange-bright);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.sams-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.sams-captcha-wrap {
  background: rgba(15, 18, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
}

.sams-captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.sams-captcha-box {
  background: linear-gradient(135deg, #1c2230 0%, #0d1017 100%);
  border: 1px solid rgba(249, 115, 22, 0.45);
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 6px;
  color: #f97316;
  user-select: none;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  transform: skew(-4deg);
  display: inline-block;
  min-width: 140px;
  text-align: center;
}

.sams-captcha-refresh-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.sams-captcha-refresh-btn:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--orange-bright);
  color: #ffffff;
}

.sams-form-success-box {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 10px;
  padding: 18px;
  margin-top: 16px;
  text-align: center;
  display: none;
}
