/* ===================================
   TYPOGRAPHY SYSTEM (OPTION C)
=================================== */

:root {
  --font-body: 'Inter', sans-serif;
  --font-ui: 'Space Grotesk', sans-serif;
  --font-display: 'Bebas Neue', sans-serif;

  /* spacing system */
  --letter-tight: 0.5px;
  --letter-normal: 1px;
  --letter-wide: 2px;
  --letter-ultra: 3px;
}

body {
  margin: 0;
  padding-top: 70px;
  font-family: var(--font-body);
  letter-spacing: var(--letter-tight);
  background: #0b0f1a;
  color: #fff;
}

.bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.35);
  z-index: 0;
}

.overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.18), transparent 45%),
    rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 20px;
}

.card-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 38px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.about h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.8;
}

.tags {
  margin-top: 18px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 5px 6px 0 0;
}

.brand {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

.brand-sub {
  font-size: 13px;
  opacity: 0.75;
}

.link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 13px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.25s ease;
  font-weight: 500;
}

.link i {
  font-size: 18px;
  width: 22px;
  text-align: center;
}

.link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 992px) {
  .about h1 {
    font-size: 28px;
  }

  .about-col {
    order: 2;
  }

  .links-col {
    order: 1;
  }
}

/* =========================
   FOOTER STYLE
========================= */

.site-footer {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.footer-brand {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-text {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}

.footer-right {
  display: flex;
  gap: 10px;
}

.footer-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: 0.25s ease;
  text-decoration: none;
}

.footer-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* CTA */
.cta-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-align: center;
}

/* BUTTON FIX (tidak full width) */
.cta-box .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 13px;
}

.cta-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cta-desc {
  font-size: 12px;
  opacity: 0.7;
  line-height: 1.5;
}

.cta-info {
  font-size: 11px;
  opacity: 0.6;
  line-height: 1.6;
}

.link i,
.link .icon-img {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===================================
   INITIAL PAGE LOAD EFFECT
=================================== */

body {
  overflow-x: hidden;
}

.wrap,
.site-footer {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: 1s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-ready .wrap,
body.page-ready .site-footer {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===================================
   BACKGROUND PARALLAX
=================================== */

.bg {
  transition: transform 0.12s linear;
  transform: scale(1.08);
  will-change: transform;
}

/* ===================================
   CARD FLOATING FEEL
=================================== */

.card-glass {
  transition:
    transform 0.18s linear,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card-glass:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ===================================
   REVEAL ON SCROLL
=================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* stagger */
.link:nth-child(1) {
  transition-delay: 0.05s;
}
.link:nth-child(2) {
  transition-delay: 0.1s;
}
.link:nth-child(3) {
  transition-delay: 0.15s;
}
.link:nth-child(4) {
  transition-delay: 0.2s;
}
.link:nth-child(5) {
  transition-delay: 0.25s;
}

/* ===================================
   MOBILE SAFE
=================================== */

@media (max-width: 768px) {
  .wrap,
  .site-footer {
    transform: translateY(20px);
  }

  .card-glass:hover {
    transform: none !important;
  }
}

/* ===================================
   CONTACT PAGE ENHANCEMENT
=================================== */

.page-contact .about h1 {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 18px;
}

.page-contact .about p {
  font-size: 15px;
  line-height: 1.9;
}

.page-contact .brand-name {
  font-size: 28px;
  letter-spacing: 0.5px;
}

.page-contact .brand-sub {
  font-size: 13px;
  opacity: 0.72;
}

/* button special whatsapp */
.pm-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.28), rgba(255, 255, 255, 0.05));
  transition: 0.28s ease;
}

.pm-cta-btn:hover {
  transform: translateY(-4px);
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.18);
}

/* card right side breathing glow */
.page-contact .links-col .card-glass {
  position: relative;
  overflow: hidden;
}

.page-contact .links-col .card-glass::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: -60px;
  right: -60px;
  background: rgba(37, 211, 102, 0.08);
  filter: blur(20px);
  animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(18px);
  }
}

/* contact links stronger */
.page-contact .link {
  padding: 15px 16px;
}

/* tags nicer spacing */
.page-contact .tag {
  margin-bottom: 8px;
}

/* mobile */
@media (max-width: 768px) {
  .page-contact .about h1 {
    font-size: 34px;
  }

  .page-contact .brand-name {
    font-size: 24px;
  }
}

/* pulse whatsapp CTA */

.pulse-now {
  animation: pulseBtn 0.9s ease;
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}
