:root {
  --bg: #060c1e;
  --bg-panel: #0d1830;
  --bg-panel-2: #111f3d;
  --border: rgba(91, 141, 239, 0.25);
  --border-soft: rgba(255, 255, 255, 0.08);
  --blue: #2f6bff;
  --blue-light: #5b8def;
  --text: #eef2fb;
  --text-muted: #93a1c2;
  --green: #34d399;

  /* Paleta tomada de la imagen de referencia */
  --cyan: #4fd8ff;
  --cyan-soft: #7fe4ff;
  --mint: #2be6a8;
  --white: #ffffff;

  --radius: 14px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}

.bg-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

a { color: inherit; text-decoration: none; }

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo { width: 34px; height: 34px; }

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.accent { color: var(--blue-light); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.badge-outline {
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 24, 48, 0.6);
}

.badge-pill {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--blue-light);
  width: fit-content;
}

/* ---------- Iconos (mask-image para poder colorearlos con CSS) ---------- */
.icon-mask {
  display: inline-block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.i-shield { -webkit-mask-image: url("../img/shield.svg"); mask-image: url("../img/shield.svg"); }
.i-lock   { -webkit-mask-image: url("../img/lock.svg");   mask-image: url("../img/lock.svg"); }
.i-email  { -webkit-mask-image: url("../img/email.svg");  mask-image: url("../img/email.svg"); }
.i-phone  { -webkit-mask-image: url("../img/phone.svg");  mask-image: url("../img/phone.svg"); }

.icon-cyan  { background-color: var(--cyan); filter: drop-shadow(0 0 5px rgba(79, 216, 255, 0.55)); }
.icon-mint  { background-color: var(--mint); filter: drop-shadow(0 0 5px rgba(43, 230, 168, 0.55)); }
.icon-white { background-color: var(--white); }
.icon-lg    { width: 28px; height: 28px; }

.icon-lock-glow {
  width: 58px;
  height: 58px;
  background-color: var(--white);
  filter: drop-shadow(0 0 12px rgba(127, 228, 255, 0.9));
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 64px 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.08;
  font-weight: 800;
  margin: 10px 0 0;
  letter-spacing: -1px;
}

.divider {
  width: 70px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin: 6px 0 4px;
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.hero-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 480px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 31, 61, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-1px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(79, 216, 255, 0.45);
}

.contact-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.contact-label { font-size: 0.8rem; color: var(--blue-light); }
.contact-value { font-size: 1rem; font-weight: 700; }
.contact-arrow { color: var(--blue-light); font-size: 1.2rem; }

.info-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.info-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--blue-light);
  flex-shrink: 0;
}

/* ---------- Browser mock ---------- */
.hero-right { display: flex; justify-content: center; }

.browser-mock {
  width: 100%;
  max-width: 560px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 31, 61, 0.9), rgba(9, 17, 36, 0.9));
  box-shadow: 0 30px 80px rgba(0, 0, 30, 0.55), 0 0 60px rgba(47, 107, 255, 0.08);
  overflow: hidden;
}

.browser-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-url {
  flex: 1;
  height: 22px;
  margin-left: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.browser-body {
  padding: 70px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.lock-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 45px rgba(79, 216, 255, 0.45), inset 0 0 30px rgba(79, 216, 255, 0.2);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 45px rgba(79, 216, 255, 0.45), inset 0 0 30px rgba(79, 216, 255, 0.2); }
  50% { box-shadow: 0 0 65px rgba(79, 216, 255, 0.65), inset 0 0 40px rgba(79, 216, 255, 0.3); }
}

.browser-body h2 { margin: 0; font-size: 1.5rem; }
.browser-body p { margin: 0; color: var(--text-muted); max-width: 320px; line-height: 1.5; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 64px 28px;
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 32px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature strong { display: block; font-size: 0.95rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }

.feature-clock-icon,
.feature-server-icon {
  font-size: 0.9rem;
  font-weight: 700;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.feature-clock { justify-content: flex-end; }

.clock-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  text-align: right;
  min-width: 220px;
}

.clock-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.clock-time { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: 1px; }
.clock-date { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 32px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .footer-features { grid-template-columns: 1fr 1fr; }
  .feature-clock { grid-column: span 2; justify-content: center; }
}

@media (max-width: 640px) {
  .topbar, .hero, .footer { padding-left: 24px; padding-right: 24px; }
  .hero-title { font-size: 2.4rem; }
  .footer-features { grid-template-columns: 1fr; }
  .feature-clock { grid-column: span 1; justify-content: flex-start; }
  .clock-box { text-align: left; }
}
