:root {
  --navy: #081526;
  --navy-2: #10233f;
  --coral: #ff5a1f;
  --coral-dark: #e04612;
  --amber: #ffb020;
  --teal: #19c2b8;
  --ink: #122033;
  --muted: #5c6a7d;
  --line: #e8edf3;
  --paper: #f4f7fb;
  --white: #fff;
  --ok: #17a34a;
  --radius: 20px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.promo {
  background: #06101e;
  color: #c9d6ea;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}
.promo strong { color: #fff; }
.promo a { color: var(--amber); font-weight: 700; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: min(240px, 58vw);
}
.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}
.logo-mark { width: 36px; height: 36px; flex: 0 0 36px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 650;
  color: var(--navy-2);
  white-space: nowrap;
}
.nav > a,
.nav-drop > span {
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.nav > a:hover,
.nav > a.active,
.nav-drop:hover > span { color: var(--coral); background: #fff4ee; }
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  display: none;
  z-index: 20;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 650;
}
.nav-drop-menu a:hover { background: var(--paper); color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.menu-btn {
  display: none;
  border: 0;
  background: var(--paper);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #fff 0%, #eef3f9 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(23,163,74,.6);
  animation: pulse 1.8s infinite;
}
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.1; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 4.6vw, 56px); color: var(--navy); }
h2 { font-size: clamp(26px, 3vw, 38px); color: var(--navy); }
h3 { font-size: 20px; color: var(--navy); }
.lead { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 0 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.domain-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  max-width: 520px;
}
.domain-bar input {
  border: 0;
  outline: 0;
  padding: 10px 12px;
  font-size: 15px;
  min-width: 0;
  width: 100%;
}
.domain-result {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok);
}

.hero-visual { position: relative; min-width: 0; padding: 18px 8px 28px 0; }
.hero-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #06101e;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 18s var(--ease) infinite alternate;
}
.hero-scan {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(25,194,184,.12) 48%, transparent 52%),
    linear-gradient(90deg, rgba(8,21,38,.25), transparent 30%);
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}
.led {
  position: absolute;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: blink 1.4s infinite;
}
.led.a { top: 18%; left: 12%; animation-delay: .2s; }
.led.b { top: 42%; left: 22%; animation-delay: .7s; background: #62ff8a; }
.led.c { top: 28%; right: 18%; animation-delay: 1.1s; }
.led.d { bottom: 22%; right: 28%; animation-delay: .4s; background: var(--coral); }
.float-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
  max-width: 148px;
}
.float-card small { display: block; font-weight: 650; color: var(--muted); font-size: 11px; }
.float-card.c1 { left: 10px; bottom: 16px; animation-delay: 0s; }
.float-card.c2 { right: 10px; top: 14px; animation-delay: 1.2s; }
.float-card.c3 { right: 14px; bottom: 72px; animation-delay: .6s; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px auto 48px;
}
.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  min-width: 0;
  transition: transform .25s var(--ease);
}
.trust-item:hover { transform: translateY(-4px); }
.trust-item b { display: block; color: var(--navy); }
.trust-item span { color: var(--muted); font-size: 13px; }

.section { padding: 72px 0; }
.section-muted { background: var(--paper); }
.section-navy { background: var(--navy); color: #c9d7ea; overflow: hidden; position: relative; }
.section-navy h2, .section-navy h3 { color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.billing {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
  margin: 8px auto 0;
}
.billing button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
  color: var(--muted);
}
.billing button.on { background: var(--navy); color: #fff; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 32px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
  transition: transform .25s var(--ease);
}
.plan:hover { transform: translateY(-6px); }
.plan.featured {
  border: 2px solid var(--coral);
  background: linear-gradient(#fff, #fff8f4);
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 6px 0 8px;
  flex-wrap: nowrap;
}
.price b {
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: -.06em;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}
.price small { color: var(--muted); font-weight: 700; }
.plan p { color: var(--muted); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.plan li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 14px;
}
.plan li:before {
  content: "";
  width: 15px; height: 15px;
  position: absolute; left: 0; top: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2317a34a' d='M6.2 11.2 2.8 7.8l1.1-1.1 2.3 2.3 5.9-5.9 1.1 1.1z'/></svg>") center/contain no-repeat;
}

.infra {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.infra-photos {
  position: relative;
  min-height: 420px;
}
.photo {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  background: #06101e;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 20s var(--ease) infinite alternate;
}
.photo.main { inset: 0 18% 18% 0; }
.photo.side { width: 48%; height: 52%; right: 0; bottom: 0; animation-delay: 2s; }
.photo.side img { animation-delay: -6s; }
.live-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  background: rgba(8,21,38,.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}
.live-tag i {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: #62ff8a; margin-right: 6px;
  animation: pulse 1.4s infinite;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-width: 0;
  transition: transform .25s var(--ease);
}
.feature:hover { transform: translateY(-4px); }
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 12px;
  background: #fff1ea; color: var(--coral);
  font-size: 11px; font-weight: 800;
}
.icon.teal { background: #e6faf8; color: #0e8f88; }
.icon.navy { background: #eaf0f8; color: var(--navy); }

.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.compare th { background: var(--navy); color: #fff; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.step {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 20px;
  min-width: 0;
}
.step b { color: var(--amber); display: block; margin-bottom: 8px; }

.faq { max-width: 820px; margin: 28px auto 0; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 750; color: var(--navy); }
details p { color: var(--muted); margin: 10px 0 0; }

.cta-band {
  background: var(--coral);
  color: #fff;
  border-radius: 28px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .94; }

.page-hero {
  position: relative;
  padding: 64px 0 52px;
  overflow: hidden;
  color: #fff;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #081526 url("../img/datacenter-racks.png") center/cover no-repeat;
  animation: ken 22s var(--ease) infinite alternate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,21,38,.88), rgba(8,21,38,.52));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d7e2f1; max-width: 640px; }

.form, .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
label { display: block; font-size: 13px; font-weight: 750; margin: 12px 0 6px; color: var(--navy); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-row, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split { gap: 24px; align-items: start; }
.notice { padding: 12px 14px; border-radius: 12px; background: #eaf8ef; color: #146c38; font-size: 14px; margin: 12px 0; }
.notice.warn { background: #fff6e5; color: #8a5a00; }
.notice.err { background: #fdecea; color: #9b1c1c; }

.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 22px; }
.cycle { display: flex; background: var(--paper); padding: 4px; border-radius: 999px; gap: 4px; width: fit-content; }
.cycle button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 750; cursor: pointer; }
.cycle button.on { background: #fff; color: var(--navy); }

.login-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  background: var(--paper) url("../img/datacenter-corridor.png") center/cover;
  padding: 40px 0;
  position: relative;
}
.login-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(244,247,251,.82);
}
.login-card { width: min(440px, calc(100% - 40px)); position: relative; z-index: 1; }
.dash { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 80vh; }
.side { background: var(--navy); color: #c9d7ea; padding: 24px 18px; }
.side a, .side button {
  display: block; width: 100%; text-align: left; background: transparent; border: 0;
  color: inherit; padding: 10px 12px; border-radius: 10px; margin-bottom: 4px; cursor: pointer; font-weight: 650;
}
.side a:hover, .side a.active, .side button:hover { background: rgba(255,255,255,.08); color: #fff; }
.side .logo {
  padding: 0;
  margin-bottom: 24px;
}
.side .logo:hover { background: transparent; }
.dash-main { padding: 28px; background: var(--paper); min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 22px; }
.kpi { background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line); min-width: 0; }
.kpi b { font-size: 26px; color: var(--navy); display: block; }

.footer { background: #06101e; color: #b7c5d8; padding: 56px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; margin-bottom: 36px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.footer a { display: block; padding: 4px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .logo {
  margin-bottom: 12px;
  max-width: 240px;
}
.footer .logo img,
.side .logo img,
.logo-on-dark img {
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  height: 56px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.login-brand img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 100%;
}
.legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
}

.reveal { opacity: 0; transform: translateY(22px); animation: rise .7s var(--ease) forwards; }
.reveal.d2 { animation-delay: .12s; }
.reveal.d3 { animation-delay: .24s; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

@keyframes ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2%, -1%, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes scan {
  0% { transform: translateY(-40%); opacity: .35; }
  100% { transform: translateY(40%); opacity: .15; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(23,163,74,.55); }
  70% { box-shadow: 0 0 0 8px rgba(23,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(23,163,74,0); }
}
@keyframes blink {
  0%, 40%, 100% { opacity: 1; }
  50% { opacity: .25; }
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    z-index: 40;
  }
  .nav.open .nav-drop-menu { position: static; display: block; border: 0; padding: 0 0 0 8px; }
  .menu-btn { display: grid; place-items: center; }
  .header { position: sticky; }
  .header-inner { position: relative; }
  .hero-grid, .infra, .plans, .features, .trust, .steps, .checkout, .dash, .footer-grid, .cta-band, .form-row, .kpis, .split {
    grid-template-columns: 1fr;
  }
  .infra-photos { min-height: 320px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding: 32px 0 24px; }
  .hero-frame { aspect-ratio: 16 / 12; }
  .float-card.c3 { display: none; }
  .header-actions .btn-ghost:not(.btn-whatsapp) { display: none; }
  .logo { max-width: min(190px, 54vw); }
  .logo img { height: 40px; }
}
