/* ==========================================================================
   LANDING PAGE STYLES - PT. ARKON MANDIRI KARYA
   ========================================================================== */

/* Background Blueprint Texture */
.blueprint-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(203, 213, 225, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.portal-wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.split-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  align-items: center;
  flex: 1;
}

/* Left Panel */
.panel-left {
  padding-right: 16px;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.badge-line {
  width: 28px;
  height: 2px;
  background-color: var(--gold-accent);
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  color: var(--silver-bright);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.text-gold {
  color: var(--gold-accent);
}

.hero-description {
  font-size: 1rem;
  color: var(--silver-main);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 400;
}

.stats-counter {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--silver-border);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--silver-bright);
  line-height: 1;
}

.stat-plus,
.stat-percent {
  color: var(--gold-accent);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--silver-muted);
  margin-top: 6px;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: var(--silver-border);
}

/* Right Panel - Gateway Card */
.panel-right {
  display: flex;
  justify-content: flex-end;
}

.gateway-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-navy-panel);
  border: 1px solid var(--silver-border);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

/* Border Atas Gradasi Pudar ke Kanan */
.gateway-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-accent) 0%, transparent 95%);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo-box {
  background: var(--gold-accent);
  color: var(--bg-navy-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 4px 10px;
  border-radius: 4px;
}

.brand-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--silver-bright);
  letter-spacing: 1px;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--silver-muted);
  letter-spacing: 0.5px;
}

.portal-notice {
  display: flex;
  gap: 12px;
  background: rgba(203, 213, 225, 0.03);
  border: 1px solid var(--silver-border);
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.notice-icon svg {
  stroke: var(--gold-accent);
}

.notice-content h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--silver-bright);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.notice-content p {
  font-size: 0.78rem;
  color: var(--silver-muted);
  line-height: 1.4;
}

/* Primary Button */
.btn-portal-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: var(--gold-accent);
  color: var(--bg-navy-dark);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.25 ease;
}

.btn-portal-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.btn-portal-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.or-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.or-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--silver-border);
}

.or-divider span {
  position: relative;
  background: var(--bg-navy-panel);
  padding: 0 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--silver-muted);
  letter-spacing: 1px;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(203, 213, 225, 0.04);
  border: 1px solid var(--silver-border);
  color: var(--silver-main);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(203, 213, 225, 0.08);
  border-color: var(--silver-main);
  color: #ffffff;
}

.btn-secondary svg {
  stroke: var(--gold-accent);
}

/* Real-world Footer Ticker Bar */
.tech-footer-bar {
  background: #040812;
  border-top: 1px solid var(--silver-border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--silver-muted);
}

.ticker-label {
  color: var(--silver-main);
  font-weight: 600;
}

.ticker-separator {
  color: var(--gold-accent);
  opacity: 0.5;
}

.status-online {
  color: #10b981;
  font-weight: 600;
}

/* Responsive */
/* ==========================================================================
   RESPONSIVE MOBILE DISPLAY (OPTIMIZED FOR ANDROID / POCO F3 & TALL SCREENS)
   ========================================================================== */

/* Fix dynamic viewport height untuk browser HP (Chrome/Firefox/Brave Android) */
.portal-wrapper {
  min-height: 100vh;
  min-height: 100dvh; /* Mencegah bug address bar HP */
}

/* Tablet & Mobile Layout adjustment */
@media (max-width: 992px) {
  .split-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 30px 20px;
  }

  .panel-left {
    padding-right: 0;
  }

  .panel-right {
    justify-content: center;
  }

  .gateway-card {
    max-width: 100%;
  }
}

/* Mobile Screen Specifics (POCO F3 / Width ~390px - 480px) */
@media (max-width: 576px) {
  .split-container {
    padding: 24px 16px 24px 16px;
    gap: 24px;
  }

  .category-badge {
    margin-bottom: 12px;
  }

  .badge-text {
    font-size: 0.72rem;
    letter-spacing: 1px;
  }

  /* Ukuran Judul Proporsional di Layar HP */
  .hero-title {
    font-size: 2.3rem;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.88rem;
    margin-bottom: 24px;
    line-height: 1.5;
  }

  /* Stats Row diubah jadi Compact Grid 3 Kolom */
  .stats-counter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
    text-align: center;
  }

  .stat-divider {
    display: none; /* Sembunyikan garis vertikal di HP biar lapang */
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.5px;
  }

  /* Card & Button Optimization untuk Touch Target Jempol */
  .gateway-card {
    padding: 20px 16px;
  }

  .brand-mini {
    margin-bottom: 16px;
  }

  .portal-notice {
    padding: 12px;
    margin-bottom: 18px;
  }

  .btn-portal-primary {
    padding: 14px 12px;
    font-size: 0.85rem;
    min-height: 48px; /* Standard Android Touch Area */
  }

  .btn-secondary {
    padding: 12px 8px;
    font-size: 0.72rem;
    min-height: 44px;
  }

  /* Footer Ticker Ringkas di Layar HP */
  .tech-footer-bar {
    padding: 12px 16px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 0.7rem;
  }

  .ticker-separator {
    display: none;
  }
}

/* Dynamic Cursor Spotlight on Card */
.gateway-card {
  transition:
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease;
  will-change: transform;
}

.gateway-card:hover {
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(197, 160, 89, 0.1);
}

/* Button Shine Sweep Effect */
.btn-portal-primary {
  position: relative;
  overflow: hidden;
}

.btn-portal-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: rotate(25deg);
  transition: all 0.6s ease;
}

.btn-portal-primary:hover::after {
  left: 130%;
}

/* Secondary Button Hover Elevation */
.btn-secondary {
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}
