/* ==========================================================================
   JatengKini.com - Exclusive Maintenance Page Stylesheet
   Theme: Luxury Blue & Pure White (Deep Navy, Royal Sapphire, Ice Frost & Crisp White)
   Font: Plus Jakarta Sans
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #060b19;
  --bg-radial-1: #0a1738;
  --bg-radial-2: #050d24;
  
  --primary-blue: #1e5eff;
  --royal-blue: #2563eb;
  --azure-glow: #38bdf8;
  --cyan-accent: #00f2fe;
  --indigo-deep: #1e1b4b;

  --text-white: #ffffff;
  --text-pure: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-highlight: rgba(56, 189, 248, 0.4);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --glow-blue: 0 0 40px rgba(30, 94, 255, 0.35);

  /* Status Colors */
  --status-emerald: #10b981;
  --status-emerald-glow: rgba(16, 185, 129, 0.25);
  --status-amber: #f59e0b;

  /* Typography & Transitions */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-pure);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmosphere & Decorative Gradients */
.background-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, var(--bg-radial-1) 0%, var(--bg-radial-2) 55%, var(--bg-dark) 100%);
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.aurora-orb-1 {
  top: -10%;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(30, 94, 255, 0.6) 0%, rgba(56, 189, 248, 0.1) 70%, transparent 100%);
}

.aurora-orb-2 {
  bottom: 10%;
  right: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5) 0%, rgba(0, 242, 254, 0.1) 65%, transparent 100%);
  animation-delay: -7s;
}

.aurora-orb-3 {
  top: 40%;
  left: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 70%);
  animation-delay: -12s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}

/* Page Layout Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1e5eff, #38bdf8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.4);
  color: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1.1;
}

.brand-title span {
  color: var(--azure-glow);
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #34d399;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: var(--status-emerald);
  border-radius: 50%;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: var(--status-emerald);
  opacity: 0.6;
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ==========================================================================
   Hero & Main Content
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 16px;
  max-width: 900px;
  margin: 0 auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(30, 94, 255, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  color: var(--azure-glow);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(30, 94, 255, 0.2);
}

.main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 20px;
}

.main-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #93c5fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.main-description {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
  font-weight: 400;
}

.main-description strong {
  color: var(--text-pure);
  font-weight: 600;
}

/* ==========================================================================
   Digital Countdown Timer
   ========================================================================== */
.countdown-section {
  width: 100%;
  margin-bottom: 44px;
}

.countdown-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

.timer-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  overflow: hidden;
}

.timer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--azure-glow), transparent);
  opacity: 0.7;
}

.timer-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-highlight);
  box-shadow: var(--card-shadow), var(--glow-blue);
}

.timer-value {
  display: block;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-white);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.timer-unit {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--azure-glow);
}

/* ==========================================================================
   Maintenance Progress Tracker
   ========================================================================== */
.progress-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto 44px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.progress-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-percent {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--azure-glow);
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-bar-fill {
  height: 100%;
  width: 2%;
  min-width: 6px;
  background: linear-gradient(90deg, #1e5eff, #38bdf8);
  border-radius: 999px;
  position: relative;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  transition: width 0.8s ease-out;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.step-item.completed {
  color: #34d399;
}

.step-item.active {
  color: var(--text-white);
  font-weight: 600;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.completed .step-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.active .step-icon {
  background: rgba(30, 94, 255, 0.3);
  color: var(--azure-glow);
  border: 1px solid var(--azure-glow);
  animation: pulseRing 1.8s infinite;
}

.pending .step-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Newsletter / Notification Subscribe Form
   ========================================================================== */
.notify-box {
  width: 100%;
  max-width: 580px;
  margin: 0 auto 40px;
}

.notify-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.notify-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.notify-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.notify-form {
  position: relative;
  display: flex;
  gap: 10px;
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.email-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  background: rgba(10, 22, 51, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-white);
  outline: none;
  transition: var(--transition);
}

.email-input::placeholder {
  color: var(--text-dim);
}

.email-input:focus {
  border-color: var(--azure-glow);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(10, 22, 51, 0.9);
}

.btn-notify {
  height: 52px;
  padding: 0 24px;
  background: linear-gradient(135deg, #1e5eff, #0088ff);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(30, 94, 255, 0.4);
  transition: var(--transition);
}

.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 94, 255, 0.55);
  background: linear-gradient(135deg, #2b68ff, #1ca0ff);
}

.btn-notify:active {
  transform: translateY(0);
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.85rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-feedback.success {
  display: flex;
  color: #34d399;
}

.form-feedback.error {
  display: flex;
  color: #f87171;
}

/* ==========================================================================
   Social Channels & Live Breaking News Alternatives
   ========================================================================== */
.social-section {
  width: 100%;
  margin-bottom: 20px;
}

.social-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn:hover {
  background: rgba(30, 94, 255, 0.15);
  border-color: var(--glass-border-highlight);
  color: var(--azure-glow);
  transform: translateY(-2px);
}

/* Specific Social Brand Color accents on hover */
.social-btn.wa:hover {
  border-color: #25d366;
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}
.social-btn.ig:hover {
  border-color: #e1306c;
  color: #ff6497;
  background: rgba(225, 48, 108, 0.12);
}
.social-btn.x:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.social-btn.fb:hover {
  border-color: #1877f2;
  color: #60a5fa;
  background: rgba(24, 119, 242, 0.12);
}
.social-btn.yt:hover {
  border-color: #ff0000;
  color: #f87171;
  background: rgba(255, 0, 0, 0.12);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-corporate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.corp-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: rgba(30, 94, 255, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  color: var(--azure-glow);
}

.corp-name {
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.01em;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--azure-glow);
}

.footer-copyright {
  text-align: center;
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 30px) scale(0.95); }
}

@keyframes pulsePing {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 16px 12px;
  }

  .site-header {
    flex-direction: column;
    gap: 14px;
    align-items: center;
    padding: 16px;
  }

  .timer-grid {
    gap: 10px;
  }

  .timer-card {
    padding: 16px 8px;
  }

  .notify-form {
    flex-direction: column;
  }

  .btn-notify {
    width: 100%;
    justify-content: center;
  }

  .progress-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.25rem;
  }
  
  .timer-value {
    font-size: 1.65rem;
  }
  
  .timer-unit {
    font-size: 0.68rem;
  }
}
