/* ============================================
   RWC Indonesia Landing Page — BMKG-Inspired
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary-dark: #13315f;
  --primary: #1e4f9c;
  --primary-mid: #5c8fe9;
  --primary-light: #7cb8ff;
  --accent: #2f6fe4;
  --accent-hover: #1e5fd6;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #eab308;
  --white: #ffffff;
  --gray-50: #fafcff;
  --gray-100: #f4f8fe;
  --gray-200: #e3edf9;
  --gray-300: #c8d8ec;
  --gray-500: #5f738d;
  --gray-700: #29415f;
  --gray-900: #10233d;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(19, 49, 95, .08);
  --shadow-lg: 0 20px 52px rgba(19, 49, 95, .12);
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title h2 {
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  letter-spacing: -.03em;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray-500);
  font-size: 1.08rem;
  max-width: 680px;
  margin: 18px auto 0;
  line-height: 1.8;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
.top-bar {
  background: #ffffff;
  color: rgba(16, 35, 61, .72);
  font-size: .8rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(19, 49, 95, .08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: rgba(16, 35, 61, .72);
  transition: color var(--transition);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-left i {
  margin-right: 4px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 49, 95, .08);
  transition: box-shadow var(--transition);
}

header.scrolled {
  box-shadow: 0 12px 30px rgba(19, 49, 95, .10);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  height: 44px;
  width: auto;
}

.nav-brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.nav-brand-text span {
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  color: rgba(16, 35, 61, .78);
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
  background: rgba(47, 111, 228, .08);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  background: linear-gradient(135deg, #4e8cff, var(--accent)) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 11px 22px !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 24px rgba(47, 111, 228, .22);
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-start;
  background:
    radial-gradient(circle at top left, rgba(103, 169, 255, .12) 0%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 56%, #eef5fd 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
}

/* Subtle grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 49, 95, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 49, 95, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

/* Glow effects */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: rgba(103, 169, 255, .18);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -50px;
  background: rgba(47, 111, 228, .10);
}

/* Decorative rings */
.hero-decor {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(19, 49, 95, .10);
  z-index: 1;
  pointer-events: none;
}

.hero-decor-1 {
  width: 500px;
  height: 500px;
  top: -180px;
  right: -120px;
}

.hero-decor-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -80px;
}

.hero-decor-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 10%;
  border-color: rgba(47, 111, 228, .16);
}

/* Hero layout */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: 56px;
  align-items: center;
  padding: 24px 0 78px;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(19, 49, 95, .08);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(19, 49, 95, .78);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

/* Hero typography */
.hero-text h2 {
  font-size: clamp(3.1rem, 5.3vw, 5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: .98;
  margin-bottom: 0;
  letter-spacing: -.045em;
}

.hero-text h2 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--primary-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: rgba(16, 35, 61, .72);
  font-size: 1.04rem;
  margin-bottom: 0;
  max-width: 560px;
  line-height: 1.82;
}

.hero-copy-stack {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 30px 0 0;
}

.hero-stat {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(19, 49, 95, .08);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px rgba(19, 49, 95, .08);
  backdrop-filter: blur(12px);
  text-align: center;
}

.hero-stat-value {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.hero-stat-label {
  display: block;
  font-size: .72rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(16, 35, 61, .56);
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(19, 49, 95, .10);
}

.hero-trust span {
  color: rgba(16, 35, 61, .52);
  font-size: .78rem;
  font-weight: 500;
}

.hero-trust img {
  width: auto;
  opacity: .85;
  transition: opacity var(--transition);
}

.hero-trust img[src*="logowmo"] {
  height: 72px;
}

.hero-trust img[src*="logo-bmkg"] {
  height: 60px;
}

.hero-trust img:hover {
  opacity: 1;
}

/* Hero Visual — Globe */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  min-height: 0;
}

.hero-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(19, 49, 95, .08);
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(19, 49, 95, .08);
}

.hero-visual-badge i {
  color: var(--accent);
}

.hero-visual-frame {
  position: relative;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(19, 49, 95, .10);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 28px 56px rgba(19, 49, 95, .16);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
  pointer-events: none;
}

.hero-platform-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(19, 49, 95, .08);
  background: #10233d;
}

.hero-visual-note {
  margin-top: 14px;
  max-width: 720px;
  color: rgba(16, 35, 61, .60);
  font-size: .92rem;
  line-height: 1.7;
}

/* Orbits */
.orbit {
  position: absolute;
  border: 1px solid rgba(19, 49, 95, .14);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-1 {
  width: 200px;
  height: 200px;
  animation: spinOrbit 20s linear infinite;
}

.orbit-2 {
  width: 280px;
  height: 280px;
  border-color: rgba(255, 191, 71, .28);
  animation: spinOrbit 30s linear infinite reverse;
}

.orbit-3 {
  width: 340px;
  height: 340px;
  border-style: dashed;
  border-color: rgba(19, 49, 95, .10);
  animation: spinOrbit 40s linear infinite;
}

@keyframes spinOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Globe core */
.globe-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(124, 184, 255, .35));
  border: 2px solid rgba(255, 255, 255, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--primary-dark);
  box-shadow: 0 0 48px rgba(124, 184, 255, .22), inset 0 0 24px rgba(255, 255, 255, .55);
  animation: float 6s ease-in-out infinite;
}

/* Station dots */
.station-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(47, 111, 228, .35);
}

.station-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(47, 111, 228, .22);
  animation: pulse 2s infinite;
}

.dot-1 {
  top: 20%;
  left: 15%;
  animation: float 4s ease-in-out infinite;
}

.dot-2 {
  top: 10%;
  right: 25%;
  animation: float 5s ease-in-out 0.5s infinite;
}

.dot-3 {
  bottom: 25%;
  left: 10%;
  animation: float 4.5s ease-in-out 1s infinite;
}

.dot-4 {
  bottom: 15%;
  right: 15%;
  animation: float 5.5s ease-in-out 0.3s infinite;
}

.dot-5 {
  top: 50%;
  right: 5%;
  animation: float 4s ease-in-out 0.8s infinite;
}

/* Floating metric badges */
.hero-metric {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(19, 49, 95, .08);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--primary-dark);
  font-size: .82rem;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
  box-shadow: 0 20px 40px rgba(19, 49, 95, .10);
}

.hero-metric i {
  font-size: 1.2rem;
  color: var(--accent);
}

.hero-metric strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
}

.hero-metric small {
  color: rgba(16, 35, 61, .56);
  font-size: .72rem;
}

.metric-1 {
  top: 8%;
  right: 0;
  animation-delay: 0s;
}

.metric-2 {
  bottom: 12%;
  left: -20px;
  animation-delay: 2s;
}

.metric-3 {
  bottom: 35%;
  right: -30px;
  animation-delay: 4s;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 15px 30px;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #4e8cff, var(--accent));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(47, 111, 228, .20);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 111, 228, .26);
}

.btn-outline {
  background: rgba(255, 255, 255, .42);
  color: var(--primary-dark);
  border: 1px solid rgba(30, 79, 156, .18);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(124, 184, 255, .45);
  background: rgba(255, 255, 255, .7);
  transform: translateY(-2px);
}


/* =========================================
   ABOUT / TENTANG
   ========================================= */
.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  justify-content: center;
}

.about-image {
  position: relative;
}

.about-image-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border-radius: 28px;
  padding: 46px;
  color: var(--primary-dark);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 49, 95, .08);
  box-shadow: var(--shadow);
  text-align: center;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(47, 111, 228, .08);
}

.about-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.about-logos img {
  width: auto;
  object-fit: contain;
}

.about-logos img[src*="logowmo"] {
  height: 58px;
}

.about-logos img[src*="logo-bmkg"] {
  height: 48px;
}

.about-logos img[src*="logorwc"],
.about-logos img[src*="logo.svg"],
.about-logos img[src*="logo-icon.svg"],
.about-logos img[src*="logo-update.svg"] {
  height: 48px;
}

.about-image-card h3 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.about-image-card p {
  color: rgba(16, 35, 61, .72);
  font-size: .95rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.about-text h2 {
  font-size: clamp(2.2rem, 3vw, 2.9rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 22px;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-align: center;
}

.about-text>p {
  color: var(--gray-500);
  font-size: 1.06rem;
  margin-bottom: 34px;
  line-height: 1.85;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1rem;
}

.about-feature h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: .82rem;
  color: var(--gray-500);
}

/* =========================================
   MONITORING PLATFORMS
   ========================================= */
.platforms {
  padding: 120px 0;
  background: #ffffff;
  scroll-margin-top: 0;
}

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.platform-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(30, 79, 156, .16);
  border-color: var(--primary-light);
}

.platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
}

.platform-icon.jira {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

.platform-icon.wdqms {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.platform-badge.live {
  background: rgba(34, 197, 94, .1);
  color: var(--success);
}

.platform-badge.live::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

.platform-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.platform-desc {
  color: var(--gray-500);
  font-size: .96rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

.platform-features {
  list-style: none;
  margin-bottom: 24px;
}

.platform-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--gray-700);
  font-size: .9rem;
  font-weight: 500;
}

.platform-features li i {
  color: var(--primary-light);
  font-size: .85rem;
  min-width: 16px;
}

.platform-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  margin-top: auto;
}

.platform-stats.wdqms-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#monitoring-ticket-stats[hidden] {
  display: none !important;
}

#monitoring-ticket-stats[hidden] + .platform-cta {
  margin-top: auto;
}

.platform-stat {
  background: #f9fbff;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.ps-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin: 7px 0 4px;
}

.ps-label {
  display: block;
  font-size: .72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .3px;
  font-weight: 600;
}

.ps-count {
  display: block;
  font-size: .74rem;
  color: var(--gray-600);
  font-weight: 600;
  line-height: 1.35;
}

.platform-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  transition: all var(--transition);
  text-align: center;
}

.platform-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 79, 156, .22);
  background: linear-gradient(135deg, var(--primary-mid), var(--primary-light));
}

/* =========================================
   LAYANAN / SERVICES
   ========================================= */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(124, 184, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.service-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.service-card p {
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.75;
}


/* =========================================
   FOOTER
   ========================================= */
footer {
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  color: rgba(16, 35, 61, .74);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(19, 49, 95, .08);
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(47, 111, 228, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: .88rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-partners {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}

.footer-partners img {
  height: 32px;
  width: auto;
  opacity: .8;
  transition: opacity var(--transition);
}

.footer-partners img:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: .82rem;
  color: rgba(16, 35, 61, .52);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 18px 0 72px;
  }

  .hero-text h2 {
    font-size: 3.4rem;
  }

  .hero-visual {
    max-width: 860px;
    width: 100%;
  }

  .hero-stat-grid {
    max-width: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .top-bar {
    display: none;
  }

  .navbar {
    height: 60px;
  }

  .nav-brand {
    gap: 10px;
    min-width: 0;
  }

  .nav-brand img {
    height: 36px;
    flex-shrink: 0;
  }

  .nav-brand-text h1 {
    font-size: 1rem;
  }

  .nav-brand-text span {
    font-size: .62rem;
    letter-spacing: .08em;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(19, 49, 95, .08);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 8px 0 64px;
    gap: 24px;
    text-align: left;
  }

  .hero-badge {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    padding: 9px 14px;
    font-size: .74rem;
    line-height: 1.45;
  }

  .hero-visual {
    display: flex;
    width: 100%;
    margin-top: 4px;
  }

  .hero-text h2 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero-copy-stack {
    gap: 14px;
    margin-bottom: 26px;
  }

  .hero-kicker {
    font-size: .72rem;
    letter-spacing: .14em;
  }

  .hero-text p {
    max-width: none;
    font-size: .98rem;
    line-height: 1.78;
  }

  .hero-badge {
    justify-content: flex-start;
    margin-bottom: 18px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    justify-content: center;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .hero-stat {
    padding: 14px 16px;
  }

  .hero-trust {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    padding-top: 20px;
  }

  .hero-visual-badge {
    display: none;
  }

  .hero-visual-frame {
    padding: 8px;
    border-radius: 20px;
  }

  .hero-platform-image {
    border-radius: 14px;
  }

  .hero-visual-note {
    display: none;
  }


  .services-grid,
  .platforms-grid {
    grid-template-columns: 1fr;
  }


  .section-title h2 {
    font-size: 1.6rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg-grid {
    background-size: 42px 42px;
  }

  .hero-decor-1,
  .hero-decor-2 {
    display: none;
  }

  .hero-glow-1 {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -120px;
  }

  .hero-glow-2 {
    width: 260px;
    height: 260px;
    bottom: -110px;
    left: -90px;
  }

  .hero-content {
    padding: 4px 0 52px;
    gap: 20px;
  }

  .hero-text h2 {
    font-size: 2.1rem;
  }

  .hero-text p {
    font-size: .94rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn {
    width: 100%;
    padding: 14px 18px;
    font-size: .9rem;
  }

  .hero-stat-value {
    font-size: .98rem;
  }

  .hero-stat-label {
    font-size: .68rem;
  }

  .hero-trust span {
    font-size: .72rem;
  }

  .hero-trust img[src*="logowmo"] {
    height: 54px;
  }

  .hero-trust img[src*="logo-bmkg"] {
    height: 44px;
  }

  .hero-visual-badge {
    display: none;
  }

  .hero-visual-frame {
    padding: 6px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .navbar {
    height: 58px;
  }

  .nav-links {
    top: 58px;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-brand img {
    height: 32px;
  }

  .nav-brand-text h1 {
    font-size: .92rem;
  }

  .nav-brand-text span {
    font-size: .57rem;
    letter-spacing: .06em;
  }

  .hero-content {
    padding: 0 0 46px;
  }

  .hero-badge {
    font-size: .68rem;
    padding: 8px 12px;
    gap: 8px;
  }

  .hero-kicker {
    font-size: .66rem;
    letter-spacing: .12em;
  }

  .hero-text h2 {
    font-size: 1.85rem;
    letter-spacing: -.035em;
  }

  .hero-text p {
    font-size: .9rem;
  }

  .hero-stat {
    padding: 12px 14px;
    border-radius: 16px;
  }

  .hero-visual-note {
    display: none;
  }
}
