:root {
  --bg: #050505;
  --bg2: #101010;
  --panel: rgba(255,255,255,.055);
  --red: #d00000;
  --red2: #ff1717;
  --white: #f2f2f2;
  --muted: #bfbfbf;
  --line: rgba(255,255,255,.12);
  --blue: #1e9bff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Montserrat, Rajdhani, Arial, sans-serif;
  background: radial-gradient(circle at 75% 20%, rgba(30,155,255,.13), transparent 28%),
              radial-gradient(circle at 20% 70%, rgba(208,0,0,.18), transparent 30%),
              var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  padding: 18px clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,.86), rgba(0,0,0,.35), transparent);
  backdrop-filter: blur(10px);
}

.brand img { width: min(310px, 42vw); height: auto; display: block; }
.nav { display: flex; gap: 24px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav a:hover { color: var(--white); }

.section {
  min-height: 100vh;
  padding: 120px clamp(22px, 5vw, 80px) 80px;
  display: grid;
  align-items: center;
  position: relative;
}

.hero {
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red2);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 800;
}

h1, h2 {
  margin: 0;
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: -.04em;
}
h1 { font-size: clamp(44px, 7vw, 96px); max-width: 980px; }
h2 { font-size: clamp(34px, 4.6vw, 68px); }
span { color: var(--red2); }

.lead, .copy p, .cta p {
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.55;
  max-width: 760px;
}

.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
}
.btn.primary { background: linear-gradient(135deg, var(--red), #8b0000); box-shadow: 0 0 32px rgba(208,0,0,.35); }
.btn.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.04); }

.hero-panel {
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.status-card {
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(0,0,0,.35);
}
.status-card strong { display: block; font-size: 22px; margin-bottom: 8px; }
.status-card span { color: var(--muted); }

.orbit {
  position: absolute;
  inset: 140px 40px 40px;
  display: grid;
  place-items: center;
}
.orbit span {
  position: absolute;
  width: min(70vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(30,155,255,.24);
  border-radius: 50%;
  animation: spin 14s linear infinite;
}
.orbit span:nth-child(2) { width: min(58vw, 340px); border-color: rgba(208,0,0,.28); animation-duration: 10s; }
.orbit span:nth-child(3) { width: min(46vw, 250px); animation-duration: 7s; }
.core {
  padding: 28px 34px;
  border-radius: 22px;
  background: rgba(208,0,0,.14);
  border: 1px solid rgba(208,0,0,.55);
  font-weight: 900;
  letter-spacing: .22em;
}

.split {
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 80px);
}
.reverse { grid-template-columns: 1fr 1fr; }

.visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #070707;
  box-shadow: 0 26px 90px rgba(0,0,0,.52);
  transform: perspective(1200px) rotateY(-4deg);
}
.reverse .visual { transform: perspective(1200px) rotateY(4deg); }
.visual img { width: 100%; display: block; }

.cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.cards.two { grid-template-columns: 1fr 1fr; }
.cards article, .timeline li, .architecture div, .benefit-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 18px;
  padding: 18px;
}
.cards b { font-size: 18px; text-transform: uppercase; }
.cards p { font-size: 15px; margin: 8px 0 0; }

.timeline {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  counter-reset: item;
}
.timeline li {
  counter-increment: item;
  color: var(--muted);
}
.timeline li::before {
  content: "0" counter(item) " ";
  color: var(--red2);
  font-weight: 900;
  margin-right: 8px;
}

.architecture {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.architecture div { min-width: 132px; text-align: center; border-left-color: var(--blue); }
.architecture span { color: var(--red2); font-weight: 900; }

.benefits { text-align: center; align-content: center; }
.benefits h2, .benefits p { margin-inline: auto; }
.benefit-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit-grid article {
  min-height: 150px;
  display: grid;
  place-items: center;
}
.benefit-grid b { color: var(--red2); font-size: 42px; }
.benefit-grid span { color: var(--white); font-weight: 800; text-transform: uppercase; }

.cta {
  min-height: 70vh;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(208,0,0,.20));
}
.cta h2 { max-width: 1050px; margin-inline: auto; }
.cta p { margin-inline: auto; }

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .16s; }

@keyframes spin {
  from { transform: rotate(0deg) scaleX(1.18); }
  to { transform: rotate(360deg) scaleX(1.18); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .topbar { height: 76px; }
  .hero, .split, .reverse { grid-template-columns: 1fr; }
  .hero-panel { min-height: 420px; }
  .visual, .reverse .visual { transform: none; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .cards.two { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding-top: 105px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .brand img { width: 250px; }
}


/* WordPress compatibility */
html { margin-top: 0 !important; }
body.admin-bar .topbar { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .topbar { top: 46px; }
}
.topbar .brand {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
}
.topbar .brand img {
  background: transparent !important;
  mix-blend-mode: normal;
}
.nav a.active {
  color: var(--white);
}


/* DCARE update: header sem logo */
.topbar {
  justify-content: flex-end;
}
.topbar .brand {
  display: none !important;
}
