/* ==========================================================================
   CNC PURWODADI — Premium Dark Industrial Design System
   Generated via UI/UX Pro Max • Inter • 8px Rhythm • Expo.out Easing
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── DESIGN TOKENS ────────────────────────────────────────────────────────── */
:root {
  /* Palette — near-black industrial */
  --bg-deep:        #030405;
  --bg-base:        #070809;
  --bg-elevated:    rgba(12, 14, 18, 0.70);
  --bg-surface:     rgba(255, 255, 255, 0.05);
  --bg-surface-hover: rgba(255, 255, 255, 0.09);

  /* Glass */
  --glass-bg:       rgba(8, 10, 15, 0.50);
  --glass-blur:     blur(16px);
  --glass-border:   rgba(255, 255, 255, 0.10);
  --glass-border-hover: rgba(255, 255, 255, 0.18);

  /* Brand accent */
  --accent:         #f97316;
  --accent-hover:   #fb923c;
  --accent-subtle:  rgba(249, 115, 22, 0.12);
  --accent-glow:    rgba(249, 115, 22, 0.20);
  --accent-ring:    rgba(249, 115, 22, 0.35);

  /* Text */
  --text-primary:   #ededed;
  --text-secondary: #9ca3af;
  --text-muted:     #6b7280;

  /* WhatsApp */
  --wa-green:       #25d366;
  --wa-green-hover: #1faf53;

  /* Typography */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (8px rhythm) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 200ms;
  --duration-slow: 350ms;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 24px var(--accent-glow);
}

/* ── RESET ────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }

/* ── FULLSCREEN VIDEO BACKGROUND ──────────────────────────────────────────── */
.bg-media-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: brightness(0.85) contrast(1.1) saturate(1.0);
  transform: scale(1.03);
}

.bg-overlay-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,4,5,0.40) 0%, rgba(3,4,5,0.12) 35%, rgba(3,4,5,0.08) 55%, rgba(3,4,5,0.45) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(249,115,22,0.04) 0%, transparent 50%);
}

/* ── MAIN GLASS CONTAINER ─────────────────────────────────────────────────── */
.main-glass-container {
  max-width: 1120px;
  margin: var(--sp-8) auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-12);
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

/* ── NAVBAR ────────────────────────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  margin: calc(var(--sp-12) * -1) calc(var(--sp-12) * -1) 0;
  padding: var(--sp-4) var(--sp-12);
  background: rgba(8, 10, 15, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  transition: background var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(8, 10, 15, 0.65);
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-dot {
  display: none; /* replaced by .brand-logo */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
  letter-spacing: 0.01em;
}

.nav-link:hover { color: var(--text-secondary); }
.nav-link.active { color: var(--text-primary); font-weight: 600; }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  padding: var(--sp-2);
}

/* ── SECTION SYSTEM ───────────────────────────────────────────────────────── */
.section {
  padding: var(--sp-16) 0;
  border-bottom: 1px solid var(--glass-border);
}

.section:last-of-type { border-bottom: none; }

.section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto var(--sp-10);
}

/* ── PILLS / BADGES ───────────────────────────────────────────────────────── */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  background: var(--accent-subtle);
  border: 1px solid rgba(249, 115, 22, 0.2);
  color: var(--accent-hover);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 400;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid transparent;
  outline: none;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px var(--accent-ring);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--wa-green-hover);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* ── HERO SECTION ─────────────────────────────────────────────────────────── */
.hero-section {
  padding: var(--sp-16) var(--sp-6) var(--sp-12) var(--sp-6);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  margin-top: var(--sp-4);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  filter: brightness(0.85) contrast(1.1);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.40) 0%, rgba(7, 9, 13, 0.60) 100%);
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-stats-row {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
  color: var(--text-primary);
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-12);
}

/* Stats Row */
.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--glass-border);
}

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

.stat-item h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.stat-item p {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ── MATERIALS GRID ───────────────────────────────────────────────────────── */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.material-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.material-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.material-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.material-title {
  font-size: 1rem;
  font-weight: 700;
}

.material-thick-badge {
  padding: 2px 8px;
  border-radius: var(--r-full);
  background: var(--accent-subtle);
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: var(--accent-hover);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.material-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}

.material-list {
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--glass-border);
}

.material-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.material-list li i {
  color: var(--accent);
  font-size: 0.72rem;
}

/* ── ESTIMATOR / CALCULATOR ───────────────────────────────────────────────── */
.estimator-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  transition: all var(--duration) var(--ease);
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-control option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.dim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.custom-input-animated {
  margin-top: var(--sp-2);
  animation: fadeSlideIn 0.25s var(--ease) forwards;
}

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

/* Price Card */
.price-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.price-summary {
  list-style: none;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.price-summary li {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.price-summary li span:last-child {
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── PORTFOLIO ────────────────────────────────────────────────────────────── */
.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.tab-pill {
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
}

.tab-pill:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-secondary);
}

.tab-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}

.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.04);
}

.portfolio-info {
  padding: var(--sp-4);
}

.portfolio-cat {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portfolio-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

/* ── CONTACT & MAP ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-6);
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  margin-bottom: var(--sp-5);
}

.contact-item h5 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-item p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.contact-btn-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact-btn-stack .btn {
  width: 100%;
  padding: 11px 20px;
}

.map-box {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  min-height: 340px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  filter: brightness(0.85) contrast(1.1) saturate(0.6);
  transition: filter var(--duration-slow) var(--ease);
}

.map-box:hover iframe {
  filter: brightness(0.9) contrast(1.05) saturate(0.8);
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer {
  padding-top: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--duration) var(--ease);
}

.footer a:hover { color: var(--accent-hover); }

/* ── LIGHTBOX MODAL ───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 5, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--r-lg);
  max-width: 560px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(8px);
  transition: transform var(--duration-slow) var(--ease);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--duration) var(--ease);
}

.modal-close:hover { background: rgba(0, 0, 0, 0.7); }

.modal-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.modal-body {
  padding: var(--sp-5);
}

/* ── HERO FEATURE TAGS ────────────────────────────────────────────────────── */
.hero-feature-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.feat-tag i { color: var(--accent); }

/* ── CNC MACHINES GRID (FLYER ALIGNED) ───────────────────────────────────── */
.cnc-machines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.machine-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border-hover);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--duration) var(--ease);
}

.machine-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.machine-badge-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--accent-hover);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-3);
}

.machine-badge-tag.non-metal {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.machine-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.machine-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}

.machine-material-box {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-top: auto;
}

.box-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
  font-weight: 700;
}

.material-check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--text-primary);
}

.material-check-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.material-check-list li i {
  color: var(--accent);
  font-size: 0.72rem;
}

/* ── 3-BLOCK INFOGRAPHICS (MATERIAL, KEUNGGULAN, APLIKASI) ────────────────── */
.info-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.info-block-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--duration) var(--ease);
}

.info-block-card.highlight {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
}

.info-block-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.info-block-head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--glass-border);
}

.info-icon {
  font-size: 1.2rem;
  color: var(--accent);
}

.info-block-head h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.info-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.info-list li i {
  color: var(--accent);
  font-size: 0.72rem;
}

/* ── CTA BANNER SECTION ───────────────────────────────────────────────────── */
.cta-banner-section {
  padding: var(--sp-12) 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(12, 14, 18, 0.85) 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
}

.cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.cta-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-cta-lg {
  padding: 14px 28px;
  font-size: 0.92rem;
  flex-shrink: 0;
}

/* ── GSAP SCROLL REVEAL ───────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .bg-video-element { display: none; }
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-glass-container {
    padding: var(--sp-8) var(--sp-6);
  }
  .navbar {
    margin: calc(var(--sp-8) * -1) calc(var(--sp-6) * -1) 0;
    padding: var(--sp-4) var(--sp-6);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.2rem; }
  .estimator-wrapper { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cnc-machines-grid { grid-template-columns: 1fr; }
  .info-blocks-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { padding: 0; }

  .cnc-machines-grid,
  .info-blocks-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    padding: var(--sp-6) var(--sp-4);
  }

  .material-check-list {
    grid-template-columns: 1fr;
  }

  .main-glass-container {
    margin: 0;
    border-radius: 0;
    padding: var(--sp-5) var(--sp-4);
    border: none;
  }

  .navbar {
    margin: calc(var(--sp-5) * -1) calc(var(--sp-4) * -1) 0;
    padding: var(--sp-3) var(--sp-4);
    border-radius: 0;
  }

  .section {
    padding: var(--sp-12) 0;
  }

  /* Mobile video: high clarity & transparency */
  .bg-video-element {
    opacity: 0.50;
    filter: brightness(0.80) contrast(1.1) saturate(0.9);
  }

  .hero-video-element {
    opacity: 0.70;
    filter: brightness(0.85) contrast(1.15);
  }

  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(7, 9, 13, 0.38) 0%, rgba(7, 9, 13, 0.58) 100%);
  }

  .brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .hero-section {
    padding: var(--sp-10) var(--sp-3) var(--sp-8) var(--sp-3);
    margin-top: var(--sp-2);
  }

  .hero-title {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
  }

  .hero-sub {
    font-size: 0.88rem;
    margin-bottom: var(--sp-6);
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats-row {
    gap: var(--sp-6);
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-item h4 { font-size: 1.2rem; }

  .section-title { font-size: 1.3rem; }
  .section-sub { font-size: 0.82rem; }

  .btn {
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  /* Mobile Nav Dropdown Card Drawer */
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--sp-4);
    right: var(--sp-4);
    background: #090c10;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-2);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all var(--duration-slow) var(--ease);
    z-index: 9999;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md);
    width: 100%;
    text-align: center;
    transition: background var(--duration) var(--ease);
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-hover);
  }

  .btn-nav-cta {
    padding: 7px 14px;
    font-size: 0.76rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }

  .estimator-wrapper {
    padding: var(--sp-5) var(--sp-4);
  }

  .price-value { font-size: 1.4rem; }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3);
  }

  .footer {
    flex-direction: column;
    gap: var(--sp-2);
    text-align: center;
    font-size: 0.72rem;
  }
}

@media (max-width: 420px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 1.45rem; }
}
