/* ───────────────────────────────────────
   Oryvia – Kebijakan Layanan (Modern Premium)
   ─────────────────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --dark: #0a0a0a;
  --darker: #050505;
  --text: #ffffff;
  --text-muted: #b0b0b0;
  --accent: #00aaff;
  --accent-glow: rgba(0, 170, 255, 0.3);
  --card-bg: #121212;
  --card-border: #222222;
  --card-hover: #181818;
  --promo-bg: #0f0f1a;
  --promo-accent: #ffcc00;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  /* Proteksi */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

.page {
  width: 100%;
}

/* ───── HERO ───── */
.hero {
  background: linear-gradient(135deg, var(--dark), var(--darker));
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, transparent 60%, var(--accent-glow) 100%);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.logo-wrapper {
  margin-bottom: 32px;
  z-index: 1;
  position: relative;
}

.logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 0 16px var(--accent-glow));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 16px;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 32px;
  font-weight: 400;
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.badge {
  background: rgba(0, 170, 255, 0.08);
  border: 1px solid rgba(0, 170, 255, 0.2);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  color: var(--text);
}

/* ───── SECTIONS ───── */
.section {
  padding: 80px 24px;
}

.section-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 3px;
}

/* ───── TENTANG ───── */
.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 22px;
  text-align: justify;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ───── LAYANAN ───── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 170, 255, 0.1), transparent);
  transition: left 0.6s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 170, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--accent);
  background: var(--card-hover);
}

.service-card:hover::before {
  left: 100%;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.25);
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.service-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ───── PROMO ───── */
.promo-card {
  display: block;
  text-decoration: none;
}

.promo-content {
  background: var(--promo-bg);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  transition: all 0.3s ease;
}

.promo-content:hover {
  border-color: rgba(255, 204, 0, 0.4);
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 204, 0, 0.15);
}

.promo-tag {
  display: inline-block;
  background: rgba(255, 204, 0, 0.15);
  color: var(--promo-accent);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.promo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.promo-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ───── KEBIJAKAN ───── */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.policy-item {
  display: flex;
  gap: 20px;
}

.policy-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.policy-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text);
}

.policy-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ───── FOOTER ───── */
.footer {
  background: var(--darker);
  padding: 50px 24px 40px;
  border-top: 1px solid var(--card-border);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.footer-links {
  margin: 12px 0;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 20px;
  font-style: italic;
  opacity: 0.8;
}

/* ───── RESPONSIF MOBILE ───── */
@media (max-width: 768px) {
  .hero {
    padding: 70px 20px 50px;
  }

  .logo {
    width: 110px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .services-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-item {
    flex-direction: column;
    gap: 12px;
  }

  .policy-number {
    align-self: flex-start;
  }

  .promo-content {
    padding: 28px 20px;
  }

  .promo-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .promo-title {
    font-size: 1.4rem;
  }
}

/* ───── ANIMASI MASUK ───── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.about,
.services,
.promo,
.policy,
.footer {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero { animation-delay: 0.1s; }
.about { animation-delay: 0.2s; }
.services { animation-delay: 0.3s; }
.promo { animation-delay: 0.4s; }
.policy { animation-delay: 0.5s; }
.footer { animation-delay: 0.6s; }

/* ───── PROTEKSI TAMBAHAN ───── */
*::selection {
  background: transparent;
}

* {
  -webkit-tap-highlight-color: transparent;
   }
